Fix: Downgraded some log levels for less verbose logging

This commit is contained in:
kay.one 2012-02-12 23:28:01 -08:00
parent abbc1b646c
commit 05df752cc8
7 changed files with 8 additions and 10 deletions

View File

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

View File

@ -12,12 +12,12 @@ namespace NzbDrone.Core.Datastore
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)
{
Logger.Info("Starting MigrateUp {0} [{1}]", version, migrationName);
Logger.Info("Starting migration {0} [{1}]", version, migrationName);
}
public void MigrateDown(long version, string migrationName)

View File

@ -409,13 +409,11 @@ namespace NzbDrone.Core.Providers
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
WHERE EpisodeId = @1",
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)

View File

@ -62,7 +62,7 @@ namespace NzbDrone.Core.Providers
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;

View File

@ -60,7 +60,7 @@ namespace NzbDrone.Core.Providers
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;

View File

@ -63,7 +63,7 @@ namespace NzbDrone.Core.Providers
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();

View File

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