-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappsettings.json
30 lines (28 loc) · 909 Bytes
/
appsettings.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
//Loglevels Precedence
//Trace -> Debug -> Information -> Warning -> Error -> Critical -> None
//If our configuration is warning. Then information and debug wont be logged.
{
"Logging": {
"LogLevel": { //Global - For all providers..
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
},
"Console": {
"LogLevel": { //Overrides global setting...
"Default": "Error",
"Microsoft.Hosting": "Trace"
}
},
"Debug": { //For debug
"LogLevel": {
"Default": "Trace",
"Microsoft.Hosting": "Error"
//"Microsoft.AspNetCore": "Warning" //If you want to see only from error and above in Debug output
}
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
"CollegeAppDBConnection": "Data Source=RITHIKESH-PERSO;Initial Catalog=CollegeProjectDB;Integrated Security=True;Trust Server Certificate=True"
}
}