gemmellr commented on PR #4235:
URL: 
https://github.com/apache/activemq-artemis/pull/4235#issuecomment-1261112526

   > Possible future enhancement would be to replace hard coding class names in 
logger definitions with Methodhandle lookups
   > 
   > `Logger logger = 
LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());`
   > 
   > This tends to help when cutting and pasting loggers and forgetting to 
change the class name.
   
   Yeah I didnt know about that trick, probably would be good to consider as I 
knew there were a few incorrect ones (forget it they are fixed in here, or were 
previously on main).


-- 
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