mirror of
https://github.com/Radarr/Radarr
synced 2026-05-08 21:01:22 +02:00
Fix: Downgraded some log levels for less verbose logging
This commit is contained in:
parent
abbc1b646c
commit
05df752cc8
7 changed files with 8 additions and 10 deletions
|
|
@ -126,7 +126,7 @@ private void InitJobs()
|
||||||
|
|
||||||
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 @@ public class MigrationLogger : ILogger
|
||||||
|
|
||||||
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 @@ public virtual void SetSeasonIgnore(long seriesId, int seasonNumber, bool isIgno
|
||||||
|
|
||||||
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 @@ public virtual IList<ExternalNotificationBase> GetEnabledExternalNotifiers()
|
||||||
|
|
||||||
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 @@ public virtual IndexerDefinition GetSettings(Type type)
|
||||||
|
|
||||||
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 @@ public virtual void SaveAll(IEnumerable<NewznabDefinition> definitions)
|
||||||
|
|
||||||
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 @@ public virtual void SetupDefault()
|
||||||
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…
Reference in a new issue