reduce logfile name

pull/702/head
Luke Pulverenti 12 years ago
parent e3c7d6f168
commit f7fd995f57

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

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

Loading…
Cancel
Save