Fix: Downgraded some log levels for less verbose logging

pull/6/head
kay.one 13 years ago
parent abbc1b646c
commit 05df752cc8

@ -126,7 +126,7 @@ namespace NzbDrone.Core
private void InitExternalNotifications() private void InitExternalNotifications()
{ {
logger.Info("Initializing External Notifications..."); logger.Debug("Initializing External Notifications...");
Kernel.Bind<ExternalNotificationBase>().To<Xbmc>(); Kernel.Bind<ExternalNotificationBase>().To<Xbmc>();
Kernel.Bind<ExternalNotificationBase>().To<Smtp>(); Kernel.Bind<ExternalNotificationBase>().To<Smtp>();
Kernel.Bind<ExternalNotificationBase>().To<Twitter>(); Kernel.Bind<ExternalNotificationBase>().To<Twitter>();

@ -12,12 +12,12 @@ namespace NzbDrone.Core.Datastore
public void Started(List<long> currentVersion, long finalVersion) public void Started(List<long> currentVersion, long finalVersion)
{ {
Logger.Info("Starting Datastore migration {0} -> {1}", String.Join(",", currentVersion), finalVersion); Logger.Debug("Starting database migration {0} -> {1}", String.Join(",", currentVersion), finalVersion);
} }
public void MigrateUp(long version, string migrationName) public void MigrateUp(long version, string migrationName)
{ {
Logger.Info("Starting MigrateUp {0} [{1}]", version, migrationName); Logger.Info("Starting migration {0} [{1}]", version, migrationName);
} }
public void MigrateDown(long version, string migrationName) public void MigrateDown(long version, string migrationName)

@ -409,13 +409,11 @@ namespace NzbDrone.Core.Providers
public virtual void SetEpisodeIgnore(int episodeId, bool isIgnored) public virtual void SetEpisodeIgnore(int episodeId, bool isIgnored)
{ {
logger.Info("Setting ignore flag on Episode:{0} to {1}", episodeId, isIgnored);
_database.Execute(@"UPDATE Episodes SET Ignored = @0 _database.Execute(@"UPDATE Episodes SET Ignored = @0
WHERE EpisodeId = @1", WHERE EpisodeId = @1",
isIgnored, episodeId); isIgnored, episodeId);
logger.Info("Ignore flag for Episode:{0} successfully set to {1}", episodeId, isIgnored); logger.Info("Ignore flag for Episode:{0} was set to {1}", episodeId, isIgnored);
} }
public virtual bool IsFirstOrLastEpisodeOfSeason(int seriesId, int seasonNumber, int episodeNumber) public virtual bool IsFirstOrLastEpisodeOfSeason(int seriesId, int seasonNumber, int episodeNumber)

@ -62,7 +62,7 @@ namespace NzbDrone.Core.Providers
public virtual void InitializeNotifiers(IList<ExternalNotificationBase> notifiers) public virtual void InitializeNotifiers(IList<ExternalNotificationBase> notifiers)
{ {
Logger.Info("Initializing notifiers. Count {0}", notifiers.Count); Logger.Debug("Initializing notifiers. Count {0}", notifiers.Count);
_notifiers = notifiers; _notifiers = notifiers;

@ -60,7 +60,7 @@ namespace NzbDrone.Core.Providers
public virtual void InitializeIndexers(IList<IndexerBase> indexers) public virtual void InitializeIndexers(IList<IndexerBase> indexers)
{ {
Logger.Info("Initializing indexers. Count {0}", indexers.Count); Logger.Debug("Initializing indexers. Count {0}", indexers.Count);
_indexers = indexers; _indexers = indexers;

@ -63,7 +63,7 @@ namespace NzbDrone.Core.Providers
public virtual void InitializeNewznabIndexers(IList<NewznabDefinition> indexers) public virtual void InitializeNewznabIndexers(IList<NewznabDefinition> indexers)
{ {
Logger.Info("Initializing Newznab indexers. Count {0}", indexers.Count); Logger.Debug("Initializing Newznab indexers. Count {0}", indexers.Count);
var currentIndexers = All(); var currentIndexers = All();

@ -57,7 +57,7 @@ namespace NzbDrone.Core.Providers
if (All().Count != 0) if (All().Count != 0)
return; return;
Logger.Info("Setting up default quality types"); Logger.Debug("Setting up default quality types");
var qualityTypes = new List<QualityType>(); var qualityTypes = new List<QualityType>();
qualityTypes.Add(new QualityType { QualityTypeId = 1, Name = "SDTV", MinSize = 0, MaxSize = 100 }); qualityTypes.Add(new QualityType { QualityTypeId = 1, Name = "SDTV", MinSize = 0, MaxSize = 100 });

Loading…
Cancel
Save