Explorar o código

Adjusted logfile name

LukePulverenti Luke Pulverenti luke pulverenti %!s(int64=12) %!d(string=hai) anos
pai
achega
bcd1a1ca7a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);