Log is now configured earlier in the life cycle.

Glimpse now listens to all IP addresses
This commit is contained in:
kay.one 2011-05-17 19:53:31 -07:00
commit 30d8da3ce8
5 changed files with 5 additions and 4 deletions

View file

@ -28,8 +28,6 @@ namespace NzbDrone.Core.Instrumentation
LogManager.Configuration.AddTarget("Exceptioneer", exTarget);
LogManager.Configuration.LoggingRules.Add(new LoggingRule("*", NLog.LogLevel.Error, exTarget));
#endif
var sonicTarget = CentralDispatch.NinjectKernel.Get<SubsonicTarget>();
LogManager.Configuration.AddTarget("DbLogger", sonicTarget);
LogManager.Configuration.LoggingRules.Add(new LoggingRule("*", NLog.LogLevel.Info, sonicTarget));