updated loggly to only report upgrade logs.

pull/24/head
Keivan Beigi 12 years ago
parent 635e206e03
commit 44950c212e

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

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

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

Loading…
Cancel
Save