From 257355832151e4147fdf78fdf2a94bf9a68dbb4e Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Mon, 20 May 2013 20:28:14 -0700 Subject: [PATCH] more logging. --- NzbDrone.Core/Instrumentation/DatabaseTarget.cs | 2 +- NzbDrone/NLog.config | 2 +- NzbDrone/Owin/OwinHostController.cs | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/NzbDrone.Core/Instrumentation/DatabaseTarget.cs b/NzbDrone.Core/Instrumentation/DatabaseTarget.cs index b39a818b3..a3f7ee688 100644 --- a/NzbDrone.Core/Instrumentation/DatabaseTarget.cs +++ b/NzbDrone.Core/Instrumentation/DatabaseTarget.cs @@ -20,7 +20,7 @@ namespace NzbDrone.Core.Instrumentation { Layout = new SimpleLayout("${callsite:className=false:fileName=false:includeSourcePath=false:methodName=true}"); - Rule = new LoggingRule("*", LogLevel.Debug, this); + Rule = new LoggingRule("*", LogLevel.Trace, this); LogManager.Configuration.AddTarget("DbLogger", this); LogManager.Configuration.LoggingRules.Add(Rule); diff --git a/NzbDrone/NLog.config b/NzbDrone/NLog.config index 8a1501719..77e4a08d5 100644 --- a/NzbDrone/NLog.config +++ b/NzbDrone/NLog.config @@ -26,6 +26,6 @@ - + \ No newline at end of file diff --git a/NzbDrone/Owin/OwinHostController.cs b/NzbDrone/Owin/OwinHostController.cs index 0429f097e..9307e478f 100644 --- a/NzbDrone/Owin/OwinHostController.cs +++ b/NzbDrone/Owin/OwinHostController.cs @@ -31,6 +31,8 @@ namespace NzbDrone.Owin App = GetType().AssemblyQualifiedName }; + _logger.Info("starting server on {0}", options.Url); + _host = WebApplication.Start(options, BuildApp); }