mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
Enabled rolling file logging.
This commit is contained in:
parent
5e3e071692
commit
d1e3298da1
17 changed files with 817 additions and 185 deletions
|
@ -50,17 +50,8 @@ namespace NzbDrone.Web
|
|||
|
||||
protected override IKernel CreateKernel()
|
||||
{
|
||||
LogManager.Configuration = new XmlLoggingConfiguration(new EnviromentProvider().GetNlogConfigPath(), false);
|
||||
|
||||
LogConfiguration.RegisterUdpLogger();
|
||||
LogConfiguration.RegisterExceptioneer();
|
||||
LogConfiguration.RegisterConsoleLogger(LogLevel.Info, "NzbDrone.Web.MvcApplication");
|
||||
LogConfiguration.RegisterConsoleLogger(LogLevel.Info, "NzbDrone.Core.CentralDispatch");
|
||||
|
||||
|
||||
var dispatch = new CentralDispatch();
|
||||
Logger.Info("NzbDrone Starting up.");
|
||||
|
||||
var dispatch = new CentralDispatch();
|
||||
dispatch.DedicateToHost();
|
||||
|
||||
dispatch.Kernel.Load(Assembly.GetExecutingAssembly());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue