Browse Source

change crash log file name

Luke Pulverenti 11 năm trước cách đây
mục cha
commit
9aac530aec
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);