arcus-azure / arcus.observability

Observability with Microsoft Azure in a breeze.
https://observability.arcus-azure.net/
MIT License
23 stars 15 forks source link

doc: Describe how to configure loglevels via configuration #421

Open fgheysels opened 2 years ago

fgheysels commented 2 years ago

We should have some documentation which informs people how we can configure the loglevels at runtime / via the configuration.

stijnmoreels commented 2 years ago

Isn't that Serilog's resposibility? Don't think that we every have extensions for configuring such log levels? We chould, however, link to Serilog's pages, though. https://github.com/serilog/serilog/wiki/Configuration-Basics#minimum-level and the LoggingLevelSwitch.

fgheysels commented 1 year ago

Yes, that is true. However, I think we can already make an improvement by making sure that the setup of serilog in the templates that we provide, is done by reading logging settings from the configuration. Cfr https://github.com/arcus-azure/arcus.templates/issues/480

stijnmoreels commented 1 year ago

Yes, was also experimenting with that, but we have to wait until Serilog is fully .NET 6 supported, as mentioned in this issue: https://github.com/arcus-azure/arcus.templates/issues/480#issuecomment-1200705576