mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-10 12:22:09 +01:00
Pls stop crashing
This commit is contained in:
@@ -53,12 +53,12 @@ namespace MediaBrowser.Server.Mono
|
||||
var appPaths = CreateApplicationPaths(applicationPath, customProgramDataPath);
|
||||
_appPaths = appPaths;
|
||||
|
||||
var logger = new LoggerConfiguration()
|
||||
.Enrich.FromLogContext()
|
||||
.WriteTo.Console()
|
||||
.CreateLogger();
|
||||
|
||||
using (var loggerFactory = new SerilogLoggerFactory(logger))
|
||||
using (var loggerFactory = new SerilogLoggerFactory(
|
||||
new LoggerConfiguration()
|
||||
.Enrich.FromLogContext()
|
||||
.WriteTo.Console()
|
||||
.CreateLogger()
|
||||
, true))
|
||||
{
|
||||
_loggerFactory = loggerFactory;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user