Logs view improvements

This commit is contained in:
kay.one 2011-07-03 22:23:38 -07:00
commit 678c33d5fa
2 changed files with 8 additions and 2 deletions

View file

@ -33,6 +33,11 @@ namespace NzbDrone.Core.Instrumentation
log.Logger = logEvent.LoggerName;
if (log.Logger.StartsWith("NzbDrone."))
{
log.Logger = log.Logger.Remove(0, 9);
}
if (logEvent.Exception != null)
{
if (String.IsNullOrWhiteSpace(log.Message))