mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
config file based logging configuration.
This commit is contained in:
parent
0f940364a3
commit
c935db93dd
8 changed files with 2616 additions and 58 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue