reduce logfile name
This commit is contained in:
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…
Reference in New Issue
Block a user