moved logging config to in-process

This commit is contained in:
Keivan Beigi 2013-08-30 18:42:30 -07:00 committed by kay.one
commit bceaee27a3
44 changed files with 257 additions and 203 deletions

View file

@ -6,6 +6,7 @@ using System.IO;
using System.Linq;
using NLog;
using NzbDrone.Common.EnvironmentInfo;
using NzbDrone.Common.Instrumentation;
using NzbDrone.Common.Model;
namespace NzbDrone.Common
@ -26,7 +27,7 @@ namespace NzbDrone.Common
public class ProcessProvider : IProcessProvider
{
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
private static readonly Logger Logger = NzbDroneLogger.GetLogger();
public const string NZB_DRONE_PROCESS_NAME = "NzbDrone";
public const string NZB_DRONE_CONSOLE_PROCESS_NAME = "NzbDrone.Console";