config(mxgateway): translate MEL Logging section to Serilog

This commit is contained in:
Joseph Doherty
2026-06-01 15:32:38 -04:00
parent 9ad17e2964
commit e39972357b
2 changed files with 18 additions and 8 deletions
@@ -1,8 +1,13 @@
{ {
"Logging": { "Serilog": {
"LogLevel": { "Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File" ],
"MinimumLevel": {
"Default": "Information", "Default": "Information",
"Microsoft.AspNetCore": "Warning" "Override": { "Microsoft.AspNetCore": "Warning" }
} },
"WriteTo": [
{ "Name": "Console" },
{ "Name": "File", "Args": { "path": "logs/mxgateway-.log", "rollingInterval": "Day" } }
]
} }
} }
@@ -1,9 +1,14 @@
{ {
"Logging": { "Serilog": {
"LogLevel": { "Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File" ],
"MinimumLevel": {
"Default": "Information", "Default": "Information",
"Microsoft.AspNetCore": "Warning" "Override": { "Microsoft.AspNetCore": "Warning" }
} },
"WriteTo": [
{ "Name": "Console" },
{ "Name": "File", "Args": { "path": "logs/mxgateway-.log", "rollingInterval": "Day" } }
]
}, },
"AllowedHosts": "*", "AllowedHosts": "*",
"MxGateway": { "MxGateway": {