-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappsettings.json
More file actions
55 lines (55 loc) · 1.5 KB
/
Copy pathappsettings.json
File metadata and controls
55 lines (55 loc) · 1.5 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
{
"AllowedHosts": "*",
"Serilog": {
"Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File" ],
"MinimumLevel": {
"Default": "Debug",
"Override": {
"Microsoft": "Warning",
"System": "Warning"
}
},
"WriteTo": [
{ "Name": "Console" },
{
"Name": "File",
"Args": {
"path": "Logs/log.txt",
"rollingInterval": "Day",
"rollOnFileSizeLimit": "true",
"formatter": "Serilog.Formatting.Compact.CompactJsonFormatter, Serilog.Formatting.Compact"
}
},
{ "Name": "File",
"Args": {
"path": "Logs/log.json",
"formatter": "Serilog.Formatting.Json.JsonFormatter, Serilog" ,
"rollingInterval": "Day",
"rollOnFileSizeLimit": "true"
}
}
],
"Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId", "WithProcessId" ]
},
"DatabaseOptions": {
"CommandTimeout": 30,
"MaxRetryCount": 3,
"EnableDetailedErrors": true,
"EnableSensitiveDataLogging": true
},
"ConnectionStrings": {
"psql": "Host=localhost;Port=5432;Database=users;Username=postgres;Password=secret"
},
"KafkaOptions": {
"BootstrapServers": [
"localhost:9092"
],
"GroupId": "khubd-users-service-group",
"Topics": [
"users"
],
"AutoOffsetReset": "Earliest",
"EnableAutoCommit": "false",
"SchemaRegistryUrl": "localhost:8081"
}
}