szegedi commented on issue #3119:
URL: 
https://github.com/apache/logging-log4j2/issues/3119#issuecomment-2546625317

   I have a fix at https://github.com/szegedi/nashorn/tree/fix-logging-2. 
Unfortunately, I had to revert part of your fix and reintroduce the 
DISABLED_LOGGER, although this time it is _explicitly_ disabled regardless of 
the underlying logging library.
   
   The logging in Nashorn is quite an architectural mess, as we need a Context 
(of which you can have more than one) to initialize a static 
(MethodHandleFactory.FUNC.) Right now all I have energy for is fixing it like 
this.
   
   I also built a JAR from it that can be downloaded here: 
https://www.dropbox.com/scl/fi/h93urg1zo6j5a9fm2dgtl/nashorn-core-15.5.jar?rlkey=vjs7p8yi3lnarivad7pj7irmv&dl=0
   
    (You can also build from source above if you're skeptical about downloading 
a JAR from Dropbox.)


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