From f7fd995f57df0b815bedce7aca6d5499c9e17050 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 8 Jun 2013 13:04:05 -0400 Subject: reduce logfile name --- MediaBrowser.Common.Implementations/Logging/NlogManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MediaBrowser.Common.Implementations/Logging') diff --git a/MediaBrowser.Common.Implementations/Logging/NlogManager.cs b/MediaBrowser.Common.Implementations/Logging/NlogManager.cs index 2917632b8e..cd3dc5c163 100644 --- a/MediaBrowser.Common.Implementations/Logging/NlogManager.cs +++ b/MediaBrowser.Common.Implementations/Logging/NlogManager.cs @@ -150,7 +150,7 @@ namespace MediaBrowser.Common.Implementations.Logging /// The level. public void ReloadLogger(LogSeverity level) { - LogFilePath = Path.Combine(LogDirectory, LogFilePrefix + "-" + DateTime.Now.Ticks + ".log"); + LogFilePath = Path.Combine(LogDirectory, LogFilePrefix + "-" + decimal.Round(DateTime.Now.Ticks / 10000000) + ".log"); AddFileTarget(LogFilePath, level); -- cgit v1.2.3