You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Configure any .NET application with Elastic.Extensions.Logging as a provider
Add a JSON file to configuration with file watching enabled
Update the JSON file while the app is running to trigger an OptionsMonitor.OnReload event
Log events are no longer sent from the Elastic provider (other providers still work, though)
The text was updated successfully, but these errors were encountered:
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:
The text was updated successfully, but these errors were encountered: