aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Program.cs
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-04-24 17:38:32 -0500
committerJP Dillingham <jpdillingham@gmail.com>2022-04-24 17:38:32 -0500
commitefd8fd01f134d206071771b38a0aa61167817250 (patch)
treeca7d81e0f4fbc365e2212fe0ba0c0688efd51462 /src/slskd/Program.cs
parent6a332e8c1c41c6adc293fd15fc2c1856e25e658c (diff)
downloadslskd-efd8fd01f134d206071771b38a0aa61167817250.tar.gz
hide Microsoft warnings
Diffstat (limited to 'src/slskd/Program.cs')
-rw-r--r--src/slskd/Program.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs
index 5e5594d8..afdf4ab3 100644
--- a/src/slskd/Program.cs
+++ b/src/slskd/Program.cs
@@ -706,7 +706,7 @@ namespace slskd
private static void ConfigureGlobalLogger()
{
Serilog.Log.Logger = (OptionsAtStartup.Debug ? new LoggerConfiguration().MinimumLevel.Debug() : new LoggerConfiguration().MinimumLevel.Information())
- .MinimumLevel.Override("Microsoft", LogEventLevel.Warning)
+ .MinimumLevel.Override("Microsoft", LogEventLevel.Error)
.MinimumLevel.Override("System.Net.Http.HttpClient", OptionsAtStartup.Debug ? LogEventLevel.Warning : LogEventLevel.Fatal)
.MinimumLevel.Override("slskd.Authentication.PassthroughAuthenticationHandler", LogEventLevel.Warning)
.Enrich.WithProperty("InstanceName", OptionsAtStartup.InstanceName)