1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-30 07:22:35 +01:00

Fixed log to console issue.

This commit is contained in:
kay.one 2011-10-06 23:43:35 -07:00
parent 8bf4f81a04
commit 57c296c62f
9 changed files with 10 additions and 11 deletions

View File

@ -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"/>

View 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;

View File

@ -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()
{

View File

@ -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
{

View File

@ -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()

View File

@ -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]

View File

@ -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;

View File

@ -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()

View File

@ -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)