{ "Logging": { "LogLevel": { "Default": "Information", "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information" } }, "AllowedHosts": "*", "WebApi": { "SupportEMail": "support@someone.de" }, "SayHelloWorldJob": { "CronExpression": "*/30 * * * * ? *", "Name": "Example Job" }, "Serilog": { "Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.RollingFile" ], "MinimumLevel": { "Default": "Debug", "Override": { "Microsoft": "Debug", "System": "Debug" } }, "WriteTo": [ { "Name": "Console", "Args": { "outputTemplate": "===> {Timestamp:HH:mm:ss} [{Level}] {Message}{NewLine}{Exception}" } }, { "Name": "RollingFile", "Args": { "pathFormat": "bin/Debug/net5.0/Logs/{Date}.log.json", "formatter": "Serilog.Formatting.Compact.CompactJsonFormatter, Serilog", "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level}] [{SourceContext}] [{EventId}] {Message}{NewLine}{Exception}", "retainedFileCountLimit": 90, "rollingInterval": "Day", "shared": true } } ] } }