-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathappsettings.json
More file actions
54 lines (52 loc) · 1.26 KB
/
appsettings.json
File metadata and controls
54 lines (52 loc) · 1.26 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
// program
"ProgramConfiguration": {
// culture
//"StartupCulture": "de-CH"
},
// payroll backend
"PayrollHttpConfiguration": {
"BaseUrl": "https://localhost",
"Port": 44354
},
// loger
"Serilog": {
"MinimumLevel": {
"Default": "Information",
"Override": {
"System": "Warning",
"Microsoft": "Warning",
"HealthChecks": "Warning"
}
},
"WriteTo": [
{
// async logger
"Name": "Async",
"Args": {
"configure": [
{
// file logger
"Name": "File",
"Args": {
"path": "%PROGRAMDATA%/PayrollEngine/ClientServiceTutorial/ConsoleApplication/logs/log.log1",
"rollingInterval": "Day",
"retainedFileCountLimit": 7,
"buffered": false
}
}
]
}
},
{
// console logger
"Name": "Console",
"Args": {
"theme": "Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Code, Serilog.Sinks.Console",
"outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj}{NewLine}{Exception}",
"restrictedToMinimumLevel": "Warning"
}
}
]
}
}