From 400a2f64ee7fe4e8eca4da4a76458ea1565b73ae Mon Sep 17 00:00:00 2001 From: Hinton Date: Thu, 13 Jan 2022 18:30:09 +0100 Subject: [PATCH] Cleanup Icons logging config --- src/Icons/appsettings.Development.json | 8 -------- src/Icons/appsettings.Production.json | 18 +++--------------- src/Icons/appsettings.json | 10 +--------- 3 files changed, 4 insertions(+), 32 deletions(-) diff --git a/src/Icons/appsettings.Development.json b/src/Icons/appsettings.Development.json index 8ed9de65b1..53f9e17cee 100644 --- a/src/Icons/appsettings.Development.json +++ b/src/Icons/appsettings.Development.json @@ -1,12 +1,4 @@ { - "Logging": { - "IncludeScopes": false, - "LogLevel": { - "Default": "Debug", - "System": "Information", - "Microsoft": "Information" - } - }, "Serilog": { "WriteTo": [ { "Name": "Console" } diff --git a/src/Icons/appsettings.Production.json b/src/Icons/appsettings.Production.json index 437045a7fb..e1facf6fad 100644 --- a/src/Icons/appsettings.Production.json +++ b/src/Icons/appsettings.Production.json @@ -1,19 +1,7 @@ { - "Logging": { - "IncludeScopes": false, - "LogLevel": { - "Default": "Debug", - "System": "Information", - "Microsoft": "Information" - }, - "Console": { - "IncludeScopes": true, - "LogLevel": { - "Default": "Warning", - "System": "Warning", - "Microsoft": "Warning", - "Microsoft.Hosting.Lifetime": "Information" - } + "Serilog": { + "MinimumLevel": { + "Default": "Error" } } } diff --git a/src/Icons/appsettings.json b/src/Icons/appsettings.json index 7ea1a32ac4..cf495b1947 100644 --- a/src/Icons/appsettings.json +++ b/src/Icons/appsettings.json @@ -15,14 +15,6 @@ "Enrich": [ "FromLogContext" ], "Properties": { "Project": "Icons" - }, - "Filter": [ - { - "Name": "ByExcluding", - "Args": { - "expression": "EventId.Id = 12482444" - } - } - ] + } } }