Added Serilog for improved logs

- Logs will be shown by console and stored in files.
This commit is contained in:
2026-09-08 21:13:35 +02:00
parent 9ec87d56da
commit fb2e00f06c
6 changed files with 89 additions and 6 deletions
-6
View File
@@ -2,12 +2,6 @@
"ConnectionStrings": {
"DbSomniaGuestLog": "Host=localhost;Port=5432;Username=postgres;Password=P@ssw0rd;Database=SomniaGuestLog"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"AddressQuery": {
"EnableAddressQuery": true,