reduce logfile name

This commit is contained in:
Luke Pulverenti 2013-06-08 13:04:05 -04:00
parent e3c7d6f168
commit f7fd995f57
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -84,7 +84,7 @@ namespace MediaBrowser.ServerApplication
/// <value>The name of the log file prefix.</value>
protected override string LogFilePrefixName
{
get { return "Server"; }
get { return "server"; }
}
/// <summary>