diff --git a/Jellyfin.Server/Resources/Configuration/logging.json b/Jellyfin.Server/Resources/Configuration/logging.json index 066034d9..bf3897a1 100644 --- a/Jellyfin.Server/Resources/Configuration/logging.json +++ b/Jellyfin.Server/Resources/Configuration/logging.json @@ -5,7 +5,7 @@ "Override": { "Microsoft": "Warning", "System": "Warning", - "Microsoft.EntityFrameworkCore.Database.Command": "Information" + "Microsoft.EntityFrameworkCore.Database.Command": "Error" } }, "WriteTo": [ @@ -32,32 +32,6 @@ } ] } - }, - { - "Name": "Async", - "Args": { - "configure": [ - { - "Name": "File", - "Args": { - "path": "%JELLYFIN_LOG_DIR%//sql_.log", - "rollingInterval": "Day", - "retainedFileCountLimit": 3, - "rollOnFileSizeLimit": true, - "fileSizeLimitBytes": 100000000, - "outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u3}] [{ThreadId}] {SourceContext}: {Message}{NewLine}{Exception}" - } - } - ] - }, - "Filter": [ - { - "Name": "ByIncludingOnly", - "Args": { - "expression": "SourceContext = 'Microsoft.EntityFrameworkCore.Database.Command'" - } - } - ] } ], "Enrich": [ "FromLogContext", "WithThreadId" ] diff --git a/publish/Resources/Configuration/logging.json b/publish/Resources/Configuration/logging.json index 6462d791..bf3897a1 100644 --- a/publish/Resources/Configuration/logging.json +++ b/publish/Resources/Configuration/logging.json @@ -5,7 +5,7 @@ "Override": { "Microsoft": "Warning", "System": "Warning", - "Microsoft.EntityFrameworkCore.Database.Command": "Information" + "Microsoft.EntityFrameworkCore.Database.Command": "Error" } }, "WriteTo": [