IDPv5, ScriptedAttribute, Nashorn, Log4j-JUL adapter heads up

Simon Lundström simlu at su.se
Fri Oct 25 08:43:35 UTC 2024


Hey all!

On the odd chance that someone else is using IDPv5, ScriptedAttribute
via Nashorn, log4j >=2.24.0 via the their application server (Tomcat in my
case) and the log4j Java Util Logging adapter: you need to make a
configuration change to allow Nashorn to change log level or you will
get very non-obvious NullPointerException (at least for me).

See bug report at https://github.com/apache/logging-log4j2/issues/3119

Hopefully noone else has to spend 2.5 days to troubleshoot this.

Have a great weekend everyone! I know I will! XD

BR,
- Simon
____________________________________

Simon Lundström

IT Services
Stockholm University
SE-106 91 Stockholm, Sweden

www.su.se/staff/it

https://www.su.se/english/about-this-website/privacy-policy


More information about the users mailing list