瀏覽代碼

change crash log file name

Luke Pulverenti 11 年之前
父節點
當前提交
9aac530aec
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      MediaBrowser.ServerApplication/MainStartup.cs

+ 1 - 1
MediaBrowser.ServerApplication/MainStartup.cs

@@ -417,7 +417,7 @@ namespace MediaBrowser.ServerApplication
         {
             _logger.ErrorException("UnhandledException", ex);
 
-            var path = Path.Combine(_appHost.ServerConfigurationManager.ApplicationPaths.LogDirectoryPath, "crash_" + Guid.NewGuid() + ".txt");
+            var path = Path.Combine(_appHost.ServerConfigurationManager.ApplicationPaths.LogDirectoryPath, "unhandled_" + Guid.NewGuid() + ".txt");
 
             var builder = LogHelper.GetLogMessage(ex);