forked from itsdotnet/TestUp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AppSettings.txt
44 lines (40 loc) · 1.02 KB
/
AppSettings.txt
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
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"Serilog": {
"Using": [ "Serilog.Sinks.File" ],
"MinimumLevel": "Debug",
"WriteTo": [
{
"Name": "File",
"Args": {
"path": "_path_of_your_logging_file_logs.log",
"outputTemplate": "[{Timestamp:HH:mm:ss} {SourceContext} [{Level}] {Message}{NewLine}{Exception}",
"rollOnFileSizeLimit": true,
"fileSizeLimitBytes": 4194304,
"retainedFileCountLimit": 15,
"rollingInterval": "Minute"
}
}
],
"Enrich": [
"FromLogContext",
"WithMachineName",
"WithThreadId",
"WithProcessId"
]
},
"AllowedHosts": "*",
"JWT": {
"Key": "0E3BFC1F-AB5C-4E2E-96E5-9DD1A2F65B02",
"Issuer": "https://TestUp.uz",
"Audience": "TestUp community"
},
"ConnectionStrings": {
"DefaultConnection": "Host=localhost; Port=5432; User Id=postgres; Password=db_password; Database=TestUpDb;"
}
}