mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-15 01:23:53 -07:00
Enabled rolling file logging.
This commit is contained in:
parent
5e3e071692
commit
d1e3298da1
17 changed files with 817 additions and 185 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue