Skip to content

Commit

Permalink
fix: logger was set to info for the wrong logs (#3354)
Browse files Browse the repository at this point in the history
  • Loading branch information
OwsleyJr committed Feb 24, 2023
1 parent ae38183 commit c36a4ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/lib/availabilitySync.ts
Expand Up @@ -601,7 +601,7 @@ class AvailabilitySync {

//if true, media exists in at least one radarr or plex instance.
if (existsInRadarr) {
logger.info(
logger.warn(
`${media.tmdbId} exists in at least one radarr or plex instance. Media will be updated if set to available.`,
{
label: 'AvailabilitySync',
Expand All @@ -621,7 +621,7 @@ class AvailabilitySync {

//if true, media exists in at least one sonarr or plex instance.
if (existsInSonarr) {
logger.info(
logger.warn(
`${media.tvdbId} exists in at least one sonarr or plex instance. Media will be updated if set to available.`,
{
label: 'AvailabilitySync',
Expand Down Expand Up @@ -685,7 +685,7 @@ class AvailabilitySync {
);

if (existsInSonarr) {
logger.info(
logger.warn(
`${media.tvdbId}, season: ${season.seasonNumber} exists in at least one sonarr or plex instance. Media will be updated if set to available.`,
{
label: 'AvailabilitySync',
Expand Down

0 comments on commit c36a4ba

Please sign in to comment.