{ "Logging": { "LogLevel": { "Default": "Information", "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information" } }, "Serilog": { "WriteTo": [ { "Name": "Async", "Args": { "configure": [ { "Name": "Console", "Args": { "formatter": "Server.Logger.ConsoleFormatter::Default, Server" } }, { "Name": "File", "Args": { "formatter": "Server.Logger.FileFormatter::Default, Server", "path": "./user/logs/log.txt", "fileSizeLimitBytes": "20971520", "rollOnFileSizeLimit": true, "rollingInterval": "Day" } } ] } } ] } }