vy commented on issue #3423:
URL: 
https://github.com/apache/logging-log4j2/issues/3423#issuecomment-2723880090

   @jbb01 What if we exclude those particular classes in the `excludePattern`:
   
   ```
   ^java\.(?!lang\.Class|net\.InetAddress|net\.URL|util\.regex\.Pattern).+
   ```
   
   (Above snippet is inspired from [this SO 
post](https://stackoverflow.com/q/2078915/1278899) and not tested.)
   
   Does this help?
   
   > This approach is not maintenance-free, as new attribute or group types 
would have to be manually added to the list.
   
   I can live with this until we have a better solution.


-- 
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: notifications-unsubscr...@logging.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to