Database logging is now set to Info.

pull/6/head
kay.one 13 years ago
parent f513878d78
commit 5c1f4bbf1a

@ -24,7 +24,7 @@ namespace NzbDrone.Core.Instrumentation
public void Register()
{
LogManager.Configuration.AddTarget("DbLogger", this);
LogManager.Configuration.LoggingRules.Add(new LoggingRule("*", LogLevel.Debug, this));
LogManager.Configuration.LoggingRules.Add(new LoggingRule("*", LogLevel.Info, this));
LogManager.ConfigurationReloaded += (sender, args) => Register();
LogConfiguration.Reload();

@ -208,8 +208,8 @@ namespace NzbDrone.Core.Providers.Jobs
if (Queue.Count != 0)
{
job = Queue.First();
logger.Trace("Popping {0} from the queue.", job);
Queue.Remove(job);
logger.Debug("Popping {0} from the queue.", job);
}
}

Loading…
Cancel
Save