-
Notifications
You must be signed in to change notification settings - Fork 29
/
appsettings.Staging.json
46 lines (46 loc) · 1.21 KB
/
appsettings.Staging.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
38
39
40
41
42
43
44
45
46
{
"Sentry": {
"Dsn": "https://0693f15f45f4481aae602816728c8ea9@sentry.io/1266316",
"AttachStackTrace": true, // Send stack trace of log messages (without exception)
"Debug": true,
"DiagnosticsLevel": "Info"
},
"Serilog": {
"MinimumLevel": {
"Default": "Debug",
"Override": {
"Microsoft.EntityFrameworkCore.Query": "Debug",
"Microsoft": "Warning",
"System": "Warning",
"Sentry": "Information"
}
},
"WriteTo": [
{
"Name": "LogzIo",
"Args": {
"authToken": "Set via env var: Serilog__WriteTo__0__Args__authToken",
"type": "worker-staging",
"useHttps": true,
"boostProperties": true,
"dataCenterSubDomain": "listener-eu",
"restrictedToMinimumLevel": "Debug"
}
},
{
"Name": "Sentry",
"Args": {
"MinimumBreadcrumbLevel": "Debug",
"MinimumEventLevel": "Warning"
}
},
{
"Name": "Console",
"Args": {
"theme": "Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Code, Serilog.Sinks.Console"
}
}
],
"Enrich": [ "FromLogContext", "WithMachineName" ]
}
}