mirror of
https://github.com/Readarr/Readarr
synced 2026-01-07 16:13:05 +01:00
Database logging is now set to Info.
This commit is contained in:
parent
f513878d78
commit
5c1f4bbf1a
2 changed files with 2 additions and 2 deletions
|
|
@ -24,7 +24,7 @@ public DatabaseTarget(IDatabase database)
|
|||
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 @@ private void ProcessQueue()
|
|||
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…
Reference in a new issue