Open
Description
What is the motivation/use case for changing the behaviour?
I want to update the log levels at runtime to capture additional information for specific users of my application. This is useful when trying to debug an issue affecting a specific user without having to enable logging for all users or requiring the specific user to restart their application.
Describe the solution you'd like
A method to update a log driver's config at runtime - currently config
is readonly
.
Describe alternatives you've considered
- Wrapping the logger and implementing my own filtering of the logs based on this dynamic log-level configuration
- Creating a composite log driver, which creates and filters logs to the underlying drivers accordingly.