-
Notifications
You must be signed in to change notification settings - Fork 0
/
appsettings.Development.json
48 lines (44 loc) · 1.11 KB
/
appsettings.Development.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
47
48
{
"Serilog": {
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft": "Information",
"System": "Warning"
}
}
},
"AllowedHosts": "*",
"ElasticConfiguration": {
"Uri": "http://localhost:9200"
},
"ElasticApm": {
"SecretToken": "",
"ServerUrls": "http://localhost:8200",
"ServiceName": "log-service",
"Environment": "Devlopment" //Set the service environment pre-prod/prod/dev/stage
}
//"loki": {
// "Url": "http://loki:3100", // Loki server URL
// "Credentials": {
// "UserName": "admin", // Optional: Loki username if authentication is needed
// "Password": "Admin@123" // Optional: Loki password if authentication is needed
// }
//}
//"Serilog": {
// "Using": [ "Serilog.Sinks.Loki" ],
// "MinimumLevel": {
// "Default": "Verbose"
// },
// "Enrich": [ "FromLogContext" ],
// "WriteTo": [
// {
// "Name": "LokiHttp",
// "Args": {
// "serverUrl": "https://loki:3000",
// "labelProvider": "Namespace.ClassName, Assembly"
// }
// }
// ]
//}
}