diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-06-08 13:04:05 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-06-08 13:04:05 -0400 |
| commit | f7fd995f57df0b815bedce7aca6d5499c9e17050 (patch) | |
| tree | 1d3804f6544f2ec1a66c9a0cd3faef2ca1baae75 /MediaBrowser.Common.Implementations | |
| parent | e3c7d6f168f274358802c9a83e9530f7716b3239 (diff) | |
reduce logfile name
Diffstat (limited to 'MediaBrowser.Common.Implementations')
| -rw-r--r-- | MediaBrowser.Common.Implementations/Logging/NlogManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Common.Implementations/Logging/NlogManager.cs b/MediaBrowser.Common.Implementations/Logging/NlogManager.cs index 2917632b8..cd3dc5c16 100644 --- a/MediaBrowser.Common.Implementations/Logging/NlogManager.cs +++ b/MediaBrowser.Common.Implementations/Logging/NlogManager.cs @@ -150,7 +150,7 @@ namespace MediaBrowser.Common.Implementations.Logging /// <param name="level">The level.</param> 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); |
