This content has been marked as final.
Show 2 replies
-
1. Re: How to tell loggers to inherit filters from the parent?
jamezp Dec 15, 2017 11:19 AM (in response to sflanigan)1 of 1 people found this helpfulHi Sean,
I never did add the functionality to WildFly for some reason. I've filed [WFCORE-3462] Expose the ability for filters on loggers to be inherited - JBoss Issue Tracker to track the issue however.
Currently the best way to use filters would be on a handler. I realize matching on something like "Catching" probably isn't ideal on a handler, but it would currently be the only way without writing a custom handler.
--
James R. Perkins
-
2. Re: How to tell loggers to inherit filters from the parent?
sflanigan Dec 18, 2017 12:40 AM (in response to jamezp)Thanks jamezp.
Turning on DEBUG logging for all of Weld could be pretty expensive, so perhaps I'm better off enumerating the sub-loggers which really need DEBUG to be enabled anyway. It will still be good to specify the filter exactly once, so I'll try putting it on the handler for now, as you suggest.