ctubbsii commented on issue #3394:
URL: https://github.com/apache/accumulo/issues/3394#issuecomment-1557447662

   @ivakegg Have you considered using a RegEx filter for the specific messages 
you want to control? 
   https://logging.apache.org/log4j/2.x/manual/filters.html#regexfilter
   You can configure it so that the filter is only used on the specific logger 
that emits that message, so you're not doing regex matching on everything, 
which might be expensive. You could also use a more efficient custom filter, 
too.
   
   Using filters is a more flexible general solution, than moving specific 
messages into their own logger classes.
   
   I'm just reluctant to hide or reduce warnings about use of deprecated 
features for everybody, since we really want users to move away from them, in 
general. Having said that, I agree there can be a certain amount of messaging 
that is too much. I'm not exactly sure where the threshold should be for this 
particular one, so I'm looking first to general solutions. And I think filters 
are good general solutions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to