-
Notifications
You must be signed in to change notification settings - Fork 4
/
appsettings.Staging.yml
110 lines (110 loc) · 4.26 KB
/
appsettings.Staging.yml
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
apiVersion: v1
kind: ConfigMap
metadata:
name: appsettings-staging
namespace: default
data:
appsettings.Staging.json: |
{
"Kestrel": {
"EndpointDefaults": {
"Protocols": "Http1AndHttp2AndHttp3"
},
"Endpoints": {
"Https": {
"Url": "https://*",
"Protocols": "Http1AndHttp2AndHttp3",
"Certificate": {
"Path": "/tmp/localhost.pfx",
"Password": "AspNetCoreWebApi"
}
}
},
"Certificates": {
"Default": {
"Path": "/tmp/localhost.pfx",
"Password": "AspNetCoreWebApi"
}
}
},
"DetailedErrors": true,
"Logging": {
"LogLevel": {
"Default": "Information",
"Grpc": "Warning",
"System": "Warning",
"Microsoft.Hosting.Lifetime": "Warning",
"Microsoft.AspNetCore": "Warning",
"Microsoft.AspNetCore.Hosting": "Warning",
"Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker": "Warning",
"Microsoft.AspNetCore.Components.Server": "Warning",
"Microsoft.AspNetCore.Components": "Warning",
"Microsoft.AspNetCore.Server": "Warning",
"Microsoft.AspNetCore.Server.Kestrel.ApplicationError": "Warning",
"Microsoft.AspNetCore.Server.Kestrel.ApplicationNeverCompleted": "Warning",
"Microsoft.AspNetCore.Server.Kestrel.BadRequests.ConnectionBadRequest": "Information",
"Microsoft.AspNetCore.Server.Kestrel.BadRequests.RequestProcessingError": "Warning",
"Microsoft.AspNetCore.Server.Kestrel.Connections.ConnectionAccepted": "Information",
"Microsoft.AspNetCore.Server.Kestrel.Http2.Http2ConnectionError": "Warning",
"Microsoft.AspNetCore.Server.Kestrel.Http3.Http3ConnectionError": "Warning"
},
"Debug": {
"LogLevel": {
"Default": "Information"
}
},
"Console": {
"IncludeScopes": true,
"LogLevel": {
"Microsoft.AspNetCore.Mvc.Razor.Internal": "Warning",
"Microsoft.AspNetCore.Mvc.Razor.Razor": "Warning",
"Microsoft.AspNetCore.Mvc.Razor": "Warning",
"Default": "Information"
}
},
"EventSource": {
"LogLevel": {
"Microsoft": "Information"
}
},
"EventLog": {
"LogLevel": {
"Microsoft": "Information"
}
},
"ApplicationInsights": {
"LogLevel": {
"Default": "Information"
}
}
},
"Serilog": {
"Using": [ "Serilog.Sinks.File" ],
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft": "Warning",
"Microsoft.AspNetCore": "Warning",
"System": "Warning",
"Microsoft.Hosting.Lifetime": "Warning",
"Microsoft.EntityFrameworkCore.Database.Command": "Warning"
}
},
"Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId" ],
"WriteTo": [
{
"Name": "File",
"Args": {
"Args": {
"outputTemplate": "{Timestamp} {Level} {EventId} {Message:j} {Properties}{NewLine}{Exception}{NewLine}"
},
"Enrich": [ "FromLogContext" ],
"path": "/var/log/aspnetcore/log",
"rollingInterval": "Day",
"retainedFileCountLimit": 3,
"formatter": "Serilog.Formatting.Elasticsearch.ElasticsearchJsonFormatter, Serilog.Formatting.Elasticsearch, Version=0.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10"
}
}
]
}
}