config file based logging configuration.

This commit is contained in:
Keivan Beigi 2013-02-27 18:43:01 -08:00
parent 0f940364a3
commit c935db93dd
8 changed files with 2616 additions and 58 deletions

View file

@ -66,9 +66,6 @@ namespace NzbDrone.Update
LogConfiguration.RegisterRemote();
LogConfiguration.RegisterConsoleLogger(LogLevel.Trace);
LogConfiguration.RegisterUdpLogger();
var logPath = Path.Combine(new EnvironmentProvider().GetSandboxLogFolder(), DateTime.Now.ToString("yyyy.MM.dd-H-mm") + ".txt");
LogConfiguration.RegisterFileLogger(logPath, LogLevel.Info);