1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-25 01:02:05 +00:00

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 @@ private void InitJobs()
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 @@ public class MigrationLogger : ILogger
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 @@ public virtual void SetSeasonIgnore(long seriesId, int seasonNumber, bool isIgno
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 @@ public virtual IList<ExternalNotificationBase> GetEnabledExternalNotifiers()
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 @@ public virtual IndexerDefinition GetSettings(Type type)
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 @@ public virtual void SaveAll(IEnumerable<NewznabDefinition> definitions)
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 @@ public virtual void SetupDefault()
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 });