Fixed log to console issue.
This commit is contained in:
parent
8bf4f81a04
commit
57c296c62f
|
@ -18,10 +18,9 @@
|
||||||
</targets>
|
</targets>
|
||||||
|
|
||||||
<rules>
|
<rules>
|
||||||
<logger name="IIS*" minlevel="Trace" writeTo="consoleTarget"/>
|
<logger name="Host.*" minlevel="Trace" writeTo="consoleTarget"/>
|
||||||
<logger name="NzbDrone.Web.MvcApplication" minlevel="Trace" writeTo="consoleTarget"/>
|
<logger name="NzbDrone.Web.MvcApplication" minlevel="Trace" writeTo="consoleTarget"/>
|
||||||
<logger name="NzbDrone.Core.CentralDispatch" minlevel="Trace" writeTo="consoleTarget"/>
|
<logger name="NzbDrone.Core.CentralDispatch" minlevel="Trace" writeTo="consoleTarget"/>
|
||||||
<logger name="Application" minlevel="Trace" writeTo="consoleTarget"/>
|
|
||||||
<logger name="*" minlevel="Debug" writeTo="udpTarget"/>
|
<logger name="*" minlevel="Debug" writeTo="udpTarget"/>
|
||||||
<logger name="*" minlevel="Off" writeTo="xmlFile"/>
|
<logger name="*" minlevel="Off" writeTo="xmlFile"/>
|
||||||
<logger name="*" minlevel="Warn" writeTo="file"/>
|
<logger name="*" minlevel="Warn" writeTo="file"/>
|
||||||
|
|
|
@ -8,7 +8,7 @@ namespace NzbDrone
|
||||||
{
|
{
|
||||||
public class Application
|
public class Application
|
||||||
{
|
{
|
||||||
private static readonly Logger Logger = LogManager.GetLogger("Application");
|
private static readonly Logger Logger = LogManager.GetLogger("Host.App");
|
||||||
|
|
||||||
private readonly ConfigProvider _configProvider;
|
private readonly ConfigProvider _configProvider;
|
||||||
private readonly WebClient _webClient;
|
private readonly WebClient _webClient;
|
||||||
|
|
|
@ -9,7 +9,7 @@ namespace NzbDrone
|
||||||
{
|
{
|
||||||
public static readonly StandardKernel Kernel = new StandardKernel();
|
public static readonly StandardKernel Kernel = new StandardKernel();
|
||||||
|
|
||||||
private static readonly Logger Logger = LogManager.GetLogger("Main");
|
private static readonly Logger Logger = LogManager.GetLogger("Host.Main");
|
||||||
|
|
||||||
private static void Main()
|
private static void Main()
|
||||||
{
|
{
|
||||||
|
|
|
@ -11,7 +11,7 @@ namespace NzbDrone.Providers
|
||||||
{
|
{
|
||||||
public class ConfigProvider
|
public class ConfigProvider
|
||||||
{
|
{
|
||||||
private static readonly Logger Logger = LogManager.GetLogger("ConfigProvider");
|
private static readonly Logger Logger = LogManager.GetLogger("Host.ConfigProvider");
|
||||||
|
|
||||||
public virtual string ApplicationRoot
|
public virtual string ApplicationRoot
|
||||||
{
|
{
|
||||||
|
|
|
@ -8,7 +8,7 @@ namespace NzbDrone.Providers
|
||||||
public class DebuggerProvider
|
public class DebuggerProvider
|
||||||
{
|
{
|
||||||
|
|
||||||
private static readonly Logger Logger = LogManager.GetLogger("DebuggerProvider");
|
private static readonly Logger Logger = LogManager.GetLogger("Host.DebuggerProvider");
|
||||||
|
|
||||||
|
|
||||||
public virtual void Attach()
|
public virtual void Attach()
|
||||||
|
|
|
@ -10,8 +10,8 @@ namespace NzbDrone.Providers
|
||||||
{
|
{
|
||||||
private readonly ConfigProvider _configProvider;
|
private readonly ConfigProvider _configProvider;
|
||||||
private readonly ProcessProvider _processProvider;
|
private readonly ProcessProvider _processProvider;
|
||||||
private static readonly Logger IISLogger = LogManager.GetLogger("IISExpress");
|
private static readonly Logger IISLogger = LogManager.GetLogger("Host.IISExpress");
|
||||||
private static readonly Logger Logger = LogManager.GetLogger("IISProvider");
|
private static readonly Logger Logger = LogManager.GetLogger("Host.IISProvider");
|
||||||
|
|
||||||
|
|
||||||
[Inject]
|
[Inject]
|
||||||
|
|
|
@ -10,7 +10,7 @@ namespace NzbDrone.Providers
|
||||||
{
|
{
|
||||||
public class MonitoringProvider
|
public class MonitoringProvider
|
||||||
{
|
{
|
||||||
private static readonly Logger Logger = LogManager.GetLogger("MonitoringProvider");
|
private static readonly Logger Logger = LogManager.GetLogger("Host.MonitoringProvider");
|
||||||
|
|
||||||
private readonly IISProvider _iisProvider;
|
private readonly IISProvider _iisProvider;
|
||||||
private readonly ProcessProvider _processProvider;
|
private readonly ProcessProvider _processProvider;
|
||||||
|
|
|
@ -7,7 +7,7 @@ namespace NzbDrone.Providers
|
||||||
{
|
{
|
||||||
public class ProcessProvider
|
public class ProcessProvider
|
||||||
{
|
{
|
||||||
private static readonly Logger Logger = LogManager.GetLogger("ProcessProvider");
|
private static readonly Logger Logger = LogManager.GetLogger("Host.ProcessProvider");
|
||||||
|
|
||||||
|
|
||||||
public virtual ProcessInfo GetCurrentProcess()
|
public virtual ProcessInfo GetCurrentProcess()
|
||||||
|
|
|
@ -12,7 +12,7 @@ namespace NzbDrone.Providers
|
||||||
{
|
{
|
||||||
public const string NzbDroneServiceName = "NzbDrone";
|
public const string NzbDroneServiceName = "NzbDrone";
|
||||||
|
|
||||||
private static readonly Logger Logger = LogManager.GetLogger("ServiceManager");
|
private static readonly Logger Logger = LogManager.GetLogger("Host.ServiceManager");
|
||||||
|
|
||||||
|
|
||||||
public bool ServiceExist(string name)
|
public bool ServiceExist(string name)
|
||||||
|
|
Loading…
Reference in New Issue