Remove/Pause Destination
Issue #6
resolved
One can easily add as many logging destinations - which is great. But, it would be nice if such destinations could be removed (e.g. dynamically change the location of log file) or paused.
Comments (2)
-
repo owner -
repo owner - changed status to resolved
Fix issue 6: Destinations can be removed.
→ <<cset 47d3b06ac5b3>>
- Log in to comment
Removing destinations should be possible, but pausing would have a negative performance impact because I would have to use something like the atomic int class for the pause variable and I would rather avoid that.
Could you give me some more details about your use case?
In the example with changing the location of a log file, is it mandatory that the location is change while the app is running? Otherwise a workaround could be that the "log file path" setting were saved somewhere and then on restart the new location would be picked up.