Explorar el Código

Merge pull request #343 from Bond-009/patch-1

Fix location log dir when failed to read configuration
Joshua M. Boniface hace 6 años
padre
commit
67cfd43c67
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      MediaBrowser.Server.Mono/Program.cs

+ 1 - 1
MediaBrowser.Server.Mono/Program.cs

@@ -193,7 +193,7 @@ namespace MediaBrowser.Server.Mono
                 Serilog.Log.Logger = new LoggerConfiguration()
                     .WriteTo.Console(outputTemplate: "[{Timestamp:HH:mm:ss}] [{Level:u3}] {Message:lj}{NewLine}{Exception}")
                     .WriteTo.File(
-                        Path.Combine(logDir, "logs", "log_.log"),
+                        Path.Combine(logDir, "log_.log"),
                         rollingInterval: RollingInterval.Day,
                         outputTemplate: "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u3}] {Message}{NewLine}{Exception}")
                     .Enrich.FromLogContext()