-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappsettings.json
37 lines (37 loc) · 1.12 KB
/
appsettings.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"Serilog": {
"Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.RollingFile" ],
"MinimumLevel": "Debug",
"WriteTo": [
{
"Name": "Console",
"Args": {
"outputTemplate": "{Timestamp:o} [{Level:u3}] ({Application}/{MachineName}/{ThreadId}) {Message:lj}{NewLine}{Exception}"
}
},
{
"Name": "RollingFile",
"Args": {
"pathFormat": "E:/TMP/application-log-{Date}.log",
"outputTemplate": "{Timestamp:o} [{Level:u3}] ({Application}/{MachineName}/{ThreadId}) {Message:lj}{NewLine}{Exception}",
"fileSizeLimitBytes": 10485760,
"retainedFileCountLimit": 30
}
}
],
"Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId" ],
"Properties": {
"Application": "Areas.Service.Signature.Universign"
}
},
"healthlog": {
"fullPath": "E:/TMP/healthcheck.log",
"intervalInSeconds": "300",
"retainedFileCountLimit": "30",
"fileSizeLimitBytes": 10485760
},
"retryCallHttpUrlOptions": {
"retry": "true",
"intervalInSeconds": "30"
}
}