some subsonic cleanup

This commit is contained in:
kay.one 2011-04-05 20:14:43 -07:00
commit 1e73138f6d
8 changed files with 22 additions and 8 deletions

View file

@ -76,6 +76,7 @@ namespace NzbDrone.Core.Test
var sonicRepo = MockLib.GetEmptyRepository();
var sonicTarget = new SubsonicTarget(sonicRepo);
LogManager.Configuration.AddTarget("DbLogger", sonicTarget);
LogManager.Configuration.LoggingRules.Add(new LoggingRule("*", NLog.LogLevel.Info, sonicTarget));
LogManager.Configuration.Reload();