Files
Examples/GerstITS.Examples.Api/appsettings.json

52 lines
1.3 KiB
JSON

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"WebApi": {
"SupportEMail": "support@itscare.de"
},
"SkyNet": {
"AppId": 86,
"Audience": "39CE2111-475C-42FE-88F7-9B7A29D0262C"
},
"LogPath": "log/{Date}.log",
"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
}
}
]
}
}