aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Program.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2020-03-03 21:53:53 +0100
committerGitHub <noreply@github.com>2020-03-03 21:53:53 +0100
commit5276c75cdeb079cd0b24c4b2dc574a584d5817b6 (patch)
treee4843fd548e62e71a37b7a5dff4d82b7cdf8c605 /Jellyfin.Server/Program.cs
parentc07e1e4f84d2bcb0eb965b17819eb72ed7afc63a (diff)
parenta4bf645ba5f878f23ce2ba916121fddd6b981968 (diff)
Merge pull request #2500 from mark-monteiro/2498-register-logging-correctly
Register Logging Services Correctly
Diffstat (limited to 'Jellyfin.Server/Program.cs')
-rw-r--r--Jellyfin.Server/Program.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs
index 1dd598236..484e507a2 100644
--- a/Jellyfin.Server/Program.cs
+++ b/Jellyfin.Server/Program.cs
@@ -26,6 +26,7 @@ using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using Serilog;
+using Serilog.Events;
using Serilog.Extensions.Logging;
using SQLitePCL;
using ILogger = Microsoft.Extensions.Logging.ILogger;
@@ -260,6 +261,7 @@ namespace Jellyfin.Server
}
}
})
+ .UseSerilog()
.UseContentRoot(appHost.ContentRoot)
.ConfigureServices(services =>
{