소스 검색

Adjusted logfile name

LukePulverenti Luke Pulverenti luke pulverenti 13 년 전
부모
커밋
bcd1a1ca7a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      MediaBrowser.Common/Kernel/BaseKernel.cs

+ 1 - 1
MediaBrowser.Common/Kernel/BaseKernel.cs

@@ -79,7 +79,7 @@ namespace MediaBrowser.Common.Kernel
 
             DateTime now = DateTime.Now;
 
-            LogFilePath = Path.Combine(ApplicationPaths.LogDirectoryPath, Assembly.GetExecutingAssembly().GetType().Name + "-" + now.ToString("dMyyyy") + "-" + now.Ticks + ".log");
+            LogFilePath = Path.Combine(ApplicationPaths.LogDirectoryPath, "log-" + now.ToString("dMyyyy") + "-" + now.Ticks + ".log");
 
             FileStream fs = new FileStream(LogFilePath, FileMode.Append, FileAccess.Write, FileShare.Read);