From 64ae67acbb2bb1174f7a085554aed5642a5866a4 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Wed, 15 Feb 2012 22:30:48 -0800 Subject: [PATCH] Fixed error log file. --- .../NzbDrone.Services.Service/App_Start/Logging.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NzbDrone.Services/NzbDrone.Services.Service/App_Start/Logging.cs b/NzbDrone.Services/NzbDrone.Services.Service/App_Start/Logging.cs index 7c7364eea..4070485ed 100644 --- a/NzbDrone.Services/NzbDrone.Services.Service/App_Start/Logging.cs +++ b/NzbDrone.Services/NzbDrone.Services.Service/App_Start/Logging.cs @@ -16,11 +16,11 @@ public static class Logging public static void PreStart() { string logPath = string.Format("C:\\NLog\\{0}\\{1}\\${{shortdate}}.log", HostingEnvironment.SiteName, new EnviromentProvider().Version); - string error = string.Format("C:\\NLog\\{0}\\{1}\\${{shortdate}}.Error.log", HostingEnvironment.SiteName, new EnviromentProvider().Version); + string error = string.Format("C:\\NLog\\{0}\\{1}\\${{shortdate}}_Error.log", HostingEnvironment.SiteName, new EnviromentProvider().Version); LogConfiguration.RegisterUdpLogger(); LogConfiguration.RegisterFileLogger(logPath, LogLevel.Trace); - LogConfiguration.RegisterFileLogger(error, LogLevel.Warn); + //LogConfiguration.RegisterFileLogger(error, LogLevel.Warn); LogConfiguration.Reload(); logger.Info("Logger has been configured. (App Start)");