Closed moikmellah closed 1 month ago
Pretty sure it's because _channel is being disposed of when configs are refreshed, but nothing is propagating the new _channel to any loggers which have already been created. PR #396 submitted for a possible fix.
**Edit: Sorry, had to redo the PR to comply with the CLA.
ECS integration/library project(s) (e.g. Elastic.CommonSchema.Serilog): Elastic.Extensions.Logging v8.11.0
ECS schema version (e.g. 1.4.0): latest
ECS .NET assembly version (e.g. 1.4.2): latest
.NET framework / OS: .NET 8.0, .NET Framework 4.7.2
Description of the problem, including expected versus actual behavior: On configuration refresh events, Elastic logging halts entirely while other sinks continue logging correctly. Expected: Logging should continue after configuration refresh events.
Steps to reproduce: