updated loggly to only report upgrade logs.

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

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

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

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

Loading…
Cancel
Save