You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
91 lines
3.0 KiB
91 lines
3.0 KiB
{
|
|
"Clock": {
|
|
"Kind": "Local"
|
|
},
|
|
"Forwarded": {
|
|
"ForwardedHeaders": "XForwardedFor,XForwardedProto"
|
|
},
|
|
"StringEncryption": {
|
|
"DefaultPassPhrase": "s46c5q55nxpeS8Ra",
|
|
"InitVectorBytes": "s83ng0abvd02js84",
|
|
"DefaultSalt": "sf&5)s3#"
|
|
},
|
|
"Json": {
|
|
"OutputDateTimeFormat": "yyyy-MM-dd HH:mm:ss",
|
|
"InputDateTimeFormats": [
|
|
"yyyy-MM-dd HH:mm:ss",
|
|
"yyyy-MM-ddTHH:mm:ss"
|
|
]
|
|
},
|
|
"AllowedHosts": "*",
|
|
"Hosting": {
|
|
"BasePath": ""
|
|
},
|
|
"Serilog": {
|
|
"MinimumLevel": {
|
|
"Default": "Debug",
|
|
"Override": {
|
|
"Microsoft.EntityFrameworkCore": "Debug",
|
|
"System": "Information",
|
|
"Microsoft": "Information"
|
|
}
|
|
},
|
|
"Enrich": [ "FromLogContext", "WithProcessId", "WithThreadId", "WithEnvironmentName", "WithMachineName", "WithApplicationName", "WithUniqueId" ],
|
|
"WriteTo": [
|
|
{
|
|
"Name": "Console",
|
|
"Args": {
|
|
"initialMinimumLevel": "Verbose",
|
|
"standardErrorFromLevel": "Verbose",
|
|
"restrictedToMinimumLevel": "Verbose",
|
|
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}"
|
|
}
|
|
},
|
|
{
|
|
"Name": "File",
|
|
"Args": {
|
|
"path": "Logs/Debug-.log",
|
|
"restrictedToMinimumLevel": "Debug",
|
|
"rollingInterval": "Day",
|
|
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}"
|
|
}
|
|
},
|
|
{
|
|
"Name": "File",
|
|
"Args": {
|
|
"path": "Logs/Info-.log",
|
|
"restrictedToMinimumLevel": "Information",
|
|
"rollingInterval": "Day",
|
|
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}"
|
|
}
|
|
},
|
|
{
|
|
"Name": "File",
|
|
"Args": {
|
|
"path": "Logs/Warn-.log",
|
|
"restrictedToMinimumLevel": "Warning",
|
|
"rollingInterval": "Day",
|
|
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}"
|
|
}
|
|
},
|
|
{
|
|
"Name": "File",
|
|
"Args": {
|
|
"path": "Logs/Error-.log",
|
|
"restrictedToMinimumLevel": "Error",
|
|
"rollingInterval": "Day",
|
|
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}"
|
|
}
|
|
},
|
|
{
|
|
"Name": "File",
|
|
"Args": {
|
|
"path": "Logs/Fatal-.log",
|
|
"restrictedToMinimumLevel": "Fatal",
|
|
"rollingInterval": "Day",
|
|
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|