Joakim, No, jetty-logging.properties is not used. We use Log.setLog(Logger) to set our logger.
Yves De : [email protected] [mailto:[email protected]] De la part de Joakim Erdfelt Envoyé : lundi 28 avril 2014 18:09 À : JETTY user mailing list Objet : Re: [jetty-users] Jetty-9.1.4 : NPE in Log.java Are you using jetty-logging.properties as well? -- Joakim Erdfelt <[email protected]<mailto:[email protected]>> webtide.com<http://www.webtide.com/> - intalio.com/jetty<http://intalio.com/jetty> Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty<http://eclipse.org/jetty/> - cometd.org<http://cometd.org/> On Mon, Apr 28, 2014 at 2:37 AM, MILLON, YVES (YVES) <[email protected]<mailto:[email protected]>> wrote: Hi, Sometimes, on some hardware, we got exceptions at startup due to NPE in the class "Log.java": Caused by: java.lang.NullPointerException at org.eclipse.jetty.util.log.Log.getLogger(Log.java:288) at org.eclipse.jetty.util.log.Log.getLogger(Log.java:271) at org.eclipse.jetty.websocket.jsr356.server.BasicServerEndpointConfigurator.<clinit>(BasicServerEndpointConfigurator.java:34) ... 54 more Caused by: java.lang.NullPointerException at org.eclipse.jetty.util.log.Log.getLogger(Log.java:288) at org.eclipse.jetty.util.log.Log.getLogger(Log.java:271) at org.eclipse.jetty.security.authentication.LoginAuthenticator.<clinit>(LoginAuthenticator.java:38) ... 13 more It seems that the method "Log.initialized()" is not fully thread safe because the default logger is set outside of the synchronized block. Regards, Yves _______________________________________________ jetty-users mailing list [email protected]<mailto:[email protected]> https://dev.eclipse.org/mailman/listinfo/jetty-users
_______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
