[PR] Suppress multiple, redundant JACC auth check log messag es under JDK 21+ (tomee)

epearson-tt (via GitHub) <[email protected]> Thu, 23 Oct 2025 20:27:04 -0000
Newsgroups gmane.comp.java.openejb.devel
Message-ID <[email protected]>
epearson-tt opened a new pull request, #2165:
URL: https://github.com/apache/tomee/pull/2165

   When running on JDK 21+, TomEE by default generates a warning message each time a JACC authorization would be performed that they are skipped under JDK 21+.  This issue is documented in [TOMEE-4528](https://issues.apache.org/jira/browse/TOMEE-4528). According to the issue, these messages can be suppressed by setting OpenEJB.security.level to SEVERE in logging.properties. However, this may mute other important error messages.
   
   This PR introduces a change to only log the warning once by default. The existing message may be preserved by setting OpenEJB.security.level = FINEST.


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