Fixed log to console issue.

pull/4/head
kay.one 13 years ago
parent 8bf4f81a04
commit 57c296c62f

@ -18,10 +18,9 @@
</targets>
<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.Core.CentralDispatch" minlevel="Trace" writeTo="consoleTarget"/>
<logger name="Application" minlevel="Trace" writeTo="consoleTarget"/>
<logger name="*" minlevel="Debug" writeTo="udpTarget"/>
<logger name="*" minlevel="Off" writeTo="xmlFile"/>
<logger name="*" minlevel="Warn" writeTo="file"/>

@ -8,7 +8,7 @@ namespace NzbDrone
{
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 WebClient _webClient;

@ -9,7 +9,7 @@ namespace NzbDrone
{
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()
{

@ -11,7 +11,7 @@ namespace NzbDrone.Providers
{
public class ConfigProvider
{
private static readonly Logger Logger = LogManager.GetLogger("ConfigProvider");
private static readonly Logger Logger = LogManager.GetLogger("Host.ConfigProvider");
public virtual string ApplicationRoot
{

@ -8,7 +8,7 @@ namespace NzbDrone.Providers
public class DebuggerProvider
{
private static readonly Logger Logger = LogManager.GetLogger("DebuggerProvider");
private static readonly Logger Logger = LogManager.GetLogger("Host.DebuggerProvider");
public virtual void Attach()

@ -10,8 +10,8 @@ namespace NzbDrone.Providers
{
private readonly ConfigProvider _configProvider;
private readonly ProcessProvider _processProvider;
private static readonly Logger IISLogger = LogManager.GetLogger("IISExpress");
private static readonly Logger Logger = LogManager.GetLogger("IISProvider");
private static readonly Logger IISLogger = LogManager.GetLogger("Host.IISExpress");
private static readonly Logger Logger = LogManager.GetLogger("Host.IISProvider");
[Inject]

@ -10,7 +10,7 @@ namespace NzbDrone.Providers
{
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 ProcessProvider _processProvider;

@ -7,7 +7,7 @@ namespace NzbDrone.Providers
{
public class ProcessProvider
{
private static readonly Logger Logger = LogManager.GetLogger("ProcessProvider");
private static readonly Logger Logger = LogManager.GetLogger("Host.ProcessProvider");
public virtual ProcessInfo GetCurrentProcess()

@ -12,7 +12,7 @@ namespace NzbDrone.Providers
{
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)

Loading…
Cancel
Save