-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappsettings.json
More file actions
38 lines (38 loc) · 879 Bytes
/
appsettings.json
File metadata and controls
38 lines (38 loc) · 879 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
36
37
38
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"NLog": {
"throwConfigExceptions": true,
"targets": {
"async": true,
"logfile": {
"type": "File",
"fileName": "${basedir}/logs/nlog-${shortdate}.log",
"createDirs": true
},
"logconsole": {
"type": "ColoredConsole"
}
},
"rules": [
{
"logger": "*",
"minLevel": "Info",
"writeTo": "logconsole"
},
{
"logger": "*",
"minLevel": "Debug",
"writeTo": "logfile"
}
]
},
"ConnectionStrings": {
"DefaultConnection": "Data Source=PHIBUSHVSQL\\SQL2019;Initial Catalog=WebApplication1;Persist Security Info=True;User ID=sa;Password=021@sql;Encrypt=True;TrustServerCertificate=True;"
}
}