-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappsettings.json
More file actions
62 lines (62 loc) · 2.01 KB
/
appsettings.json
File metadata and controls
62 lines (62 loc) · 2.01 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
55
56
57
58
59
60
61
62
{
"QueryBuilderSetting": {
"Facet": {
"CountTable": "tbl_analysis_entities",
"CountColumn": "tbl_analysis_entities.analysis_entity_id"
},
"Store": {
"Host": "postgresql",
"Database": "sead_staging",
"Port": "5432",
"UseRedisCache": false,
"CacheHost": "redis_cache",
"CachePort": 6379
}
},
"Serilog": {
"Using": [
"Serilog.Sinks.Console",
"Serilog.Sinks.Async",
"Serilog.Sinks.File"
],
"MinimumLevel": {
"Default": "Debug",
"Override": {
"Microsoft": "Information",
"System": "Warning"
}
},
"Enrich": [
"FromLogContext",
"WithExceptionDetails",
"WithDemystifiedStackTraces"
],
"WriteTo": [
{
"Name": "Async",
"Args": {
"configure": [
{
"Name": "Console",
"Args": {
"Theme": "Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Code, Serilog.Sinks.Console",
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} {Level:u3}] [{SourceContext}] [{RequestId}] {Message:lj}{NewLine}{Exception}"
}
},
{
"Name": "File",
"Args": {
"path": "/var/log/sead-query-api-.log",
"rollingInterval": "Day",
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u3}] {Properties:j}{NewLine}{Exception}"
}
}
]
}
}
],
"Properties": {
"Application": "SEAD Query API"
}
}
}