USACE-WaterManagement / cwms-logging

0 stars 1 forks source link

Update Java Util Handler for gelf logging to prevent StackOverflowErrors #4

Open adamkorynta opened 1 week ago

adamkorynta commented 1 week ago

If the log level for the application is moved down below INFO, the JDK internal classes for SSL start logging to JUL which causes a recursive call back to log handlers. This could be prevented by checking the current stack trace or some such other mechanism.

https://logging.paluch.biz/examples/jul.html