From b3352e342f2142d51f6b43e9596d4677869d4d23 Mon Sep 17 00:00:00 2001 From: Marc Brooks Date: Mon, 19 Jun 2023 08:01:05 -0500 Subject: [PATCH] Reduce log noise (#85) 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 --- Jellyfin.Plugin.Tvdb/Providers/TvdbMissingEpisodeProvider.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jellyfin.Plugin.Tvdb/Providers/TvdbMissingEpisodeProvider.cs b/Jellyfin.Plugin.Tvdb/Providers/TvdbMissingEpisodeProvider.cs index c9c2e2b..a430786 100644 --- a/Jellyfin.Plugin.Tvdb/Providers/TvdbMissingEpisodeProvider.cs +++ b/Jellyfin.Plugin.Tvdb/Providers/TvdbMissingEpisodeProvider.cs @@ -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 { @@ -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,