diff options
| author | transtrike <transtrike@gmail.com> | 2021-04-02 23:17:39 +0300 |
|---|---|---|
| committer | transtrike <transtrike@gmail.com> | 2021-04-02 23:17:39 +0300 |
| commit | 0c83049a3a0b417da7dcd548b1cd0992defb366f (patch) | |
| tree | b69ef0d111b7c22316a2a6603d66d85e4a568956 /src/Web/DevHive.Web/appsettings.json | |
| parent | d672c515eb760a5351affeb5600640569ed5ee16 (diff) | |
| parent | 2448c4d31188aed26605c5e3c282bacc3bd71ae5 (diff) | |
| download | DevHive-0c83049a3a0b417da7dcd548b1cd0992defb366f.tar DevHive-0c83049a3a0b417da7dcd548b1cd0992defb366f.tar.gz DevHive-0c83049a3a0b417da7dcd548b1cd0992defb366f.zip | |
dev -> feature/profile_picture_implementation(02.03.2021)
Diffstat (limited to 'src/Web/DevHive.Web/appsettings.json')
| -rw-r--r-- | src/Web/DevHive.Web/appsettings.json | 38 |
1 files changed, 33 insertions, 5 deletions
diff --git a/src/Web/DevHive.Web/appsettings.json b/src/Web/DevHive.Web/appsettings.json index 036af82..84d534d 100644 --- a/src/Web/DevHive.Web/appsettings.json +++ b/src/Web/DevHive.Web/appsettings.json @@ -12,11 +12,39 @@ "apiKey": "488664116365813", "apiSecret": "" }, - "Logging": { - "LogLevel": { + "Serilog": { + "Using": [], + "LevelSwitches": { + "$consoleSwitch": "Verbose", + "$fileSwitch": "Error" + }, + "MinimumLevel": { "Default": "Information", - "Microsoft": "Warning", - "Microsoft.Hosting.Lifetime": "Information" - } + "Override": { + "Microsoft": "Warning", + "System": "Warning" + } + }, + "Enrich": [ + "FromLogContext", + "WithMachineName", + "WithProcessId", + "WithThreadId" + ], + "WriteTo": [ + { + "Name": "Console", + "Args": { + "levelSwitch": "$consoleSwitch" + } + }, + { + "Name": "File", + "Args": { + "path": "./Logs/errors.log", + "levelSwitch": "$fileSwitch" + } + } + ] } } |
