[jacorb-developer] JacOBR and logging

Michael Thaler michael.thaler2 at googlemail.com
Mon Jan 21 14:18:09 CET 2013


Hello,

we are using JacORB in a complex server application. The application is
modular and each module provides some functionality. One of the modules
connects to a server using JacORB. The application uses slf4j with the JDK
logger as its backend. We attach custom handlers to the JDK logger to e.g.
send log messages over the network. Everything related to logging in the
jacorb.properties file is commented out to prevent JacORB to configure the
JDK logger. However, it seams that JacORB is still changing the JDK logger
configuration.

When we create an ORB after adding handlers to the JDK logger, logging
messages are printed to the console and our handlers don't get logging
messages from JacORB. However, when I create a dummy ORB before
initializing the ORB, everything works fine. To me this looks like JacORB
is changing the logger configuration when the ORB Singleton is created. How
can I prevent JacORB from changing the JDK logger configuration?

Best regards,
Michael


More information about the jacorb-developer mailing list