Files
hrynco-notification-service/HrynCo.NotificationService.Web/appsettings.json
T
Anatolii Grynchuk 49982fc27f chore: add Application property to Serilog for log filtering
- Worker logs tagged as 'hrynco-notification-service-worker'
- Web logs tagged as 'hrynco-notification-service-web'

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-02 23:47:48 +03:00

29 lines
677 B
JSON

{
"App": {
"ConnectionString": "Host=localhost;Port=5432;Database=notification_service;Username=postgres;Password=postgres"
},
"Serilog": {
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft": "Warning",
"Microsoft.EntityFrameworkCore": "Warning",
"Microsoft.AspNetCore": "Warning"
}
},
"WriteTo": [
{ "Name": "Console" },
{
"Name": "Seq",
"Args": {
"serverUrl": "http://localhost:5341"
}
}
],
"Enrich": [ "FromLogContext" ],
"Properties": {
"Application": "hrynco-notification-service-web"
}
},
"AllowedHosts": "*"
}