Skip to content

Commit

Permalink
Reduce log noise (#85)
Browse files Browse the repository at this point in the history
The MissingEpisodeProvider creates 1000s of log entries every MediaScan
if you have long-running series like the Simpsons.
Downgrade the LogInformation calls to LogDebug calls to mute the noise
  • Loading branch information
IDisposable authored Jun 19, 2023
1 parent fe7c84f commit b3352e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jellyfin.Plugin.Tvdb/Providers/TvdbMissingEpisodeProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ private Season AddVirtualSeason(int season, Series series)
season.ToString(CultureInfo.InvariantCulture));
}

_logger.LogInformation("Creating Season {SeasonName} entry for {SeriesName}", seasonName, series.Name);
_logger.LogDebug("Creating Season {SeasonName} entry for {SeriesName}", seasonName, series.Name);

var newSeason = new Season
{
Expand Down Expand Up @@ -461,7 +461,7 @@ private void AddVirtualEpisode(EpisodeRecord? episode, Season? season)
newEpisode.PresentationUniqueKey = newEpisode.GetPresentationUniqueKey();
newEpisode.SetProviderId(MetadataProvider.Tvdb, episode.Id.ToString(CultureInfo.InvariantCulture));

_logger.LogInformation(
_logger.LogDebug(
"Creating virtual episode {0} {1}x{2}",
season.Series.Name,
episode.AiredSeason,
Expand Down

0 comments on commit b3352e3

Please sign in to comment.