Enabled rolling file logging.

This commit is contained in:
kay.one 2012-01-22 18:24:16 -08:00
parent 5e3e071692
commit d1e3298da1
17 changed files with 817 additions and 185 deletions

View file

@ -68,7 +68,7 @@ namespace NzbDrone.Update
LogConfiguration.RegisterUdpLogger();
var logPath = Path.Combine(new EnviromentProvider().GetSandboxLogFolder(), DateTime.Now.ToString("yyyy.MM.dd-H-mm") + ".txt");
LogConfiguration.RegisterFileLogger(logPath);
LogConfiguration.RegisterFileLogger(logPath, LogLevel.Info);
LogConfiguration.Reload();
}