updated loggly to only report upgrade logs.

This commit is contained in:
Keivan Beigi 2013-07-18 16:41:11 -07:00
parent 635e206e03
commit 44950c212e
3 changed files with 3 additions and 5 deletions

View File

@ -196,6 +196,8 @@ namespace NzbDrone.Common
{
var destFile = Path.Combine(target, sourceFile.Name);
Logger.Trace("{0} {1} -> {2}", transferAction, sourceFile, destFile);
switch (transferAction)
{
case TransferAction.Copy:

View File

@ -34,7 +34,7 @@ namespace NzbDrone.Update
GlobalExceptionHandlers.Register();
new LogglyTarget().Register(LogLevel.Debug);
new LogglyTarget().Register(LogLevel.Trace);
_container = UpdateContainerBuilder.Build();
logger.Info("Updating NzbDrone to version {0}", BuildInfo.Version);

View File

@ -20,12 +20,8 @@ namespace NzbDrone
GlobalExceptionHandlers.Register();
IgnoreCertErrorPolicy.Register();
new LogglyTarget().Register(LogLevel.Warn);
Logger.Info("Starting NzbDrone Console. Version {0}", Assembly.GetExecutingAssembly().GetName().Version);
//Check if full version .NET is installed.
try
{