-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappsettings.json
More file actions
35 lines (35 loc) · 949 Bytes
/
appsettings.json
File metadata and controls
35 lines (35 loc) · 949 Bytes
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
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning",
"Microsoft.EntityFrameworkCore": "Information"
}
},
"AllowedHosts": "localhost;127.0.0.1;*.local",
"OpenTelemetry": {
"OtlpEndpoint": "http://localhost:4320"
},
"Cors": {
"AllowedOrigins": ["http://localhost:3000", "https://localhost:3001", "http://127.0.0.1:3000", "https://127.0.0.1:3001"]
},
"Serilog": {
"Using": ["Serilog.Sinks.Console", "Serilog.Sinks.OpenTelemetry"],
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft": "Warning",
"System": "Warning"
}
},
"WriteTo": [
{
"Name": "Console",
"Args": {
"outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj} {Properties:j}{NewLine}{Exception}"
}
}
],
"Enrich": ["FromLogContext", "WithMachineName", "WithThreadId"]
}
}