commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Commons Wiki] Update of "Logging/FrequentlyAskedQuestions" by SimonKitching
Date Tue, 06 Nov 2007 12:02:29 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Commons Wiki" for change notification.

The following page has been changed by SimonKitching:

The comment on the change is:
Add info about java.util.logging

  The JULI module in Apache Tomcat provides adapters from the java.util.logging API. This
is of course not an option for
  code that may be run in JVMs prior to 1.4. The java.util.logging system can also be awkward
to set up.
+ == Can calls to java.util.logging be redirected via commons-logging? ==
+ Yes. The java.util.logging classes present in java since 1.4 are both an API and a (primitive)
logging implementation.
+ It is possible to install an "implementation" that redirects messages back to commons-logging,
which will then in turn
+ direct the calls to the appropriate concrete logging library that commons-logging is sending
other messages to.
+ Alternatively, have your java.util.logging "implementation" send messages directly to the
same implementation that
+ commons-logging is bound to. This will be faster - although if you change your commons-logging
configuration to use
+ a different logging library then the java.util.logging implementation would need to be changed
+ See here for details:
  == Is JCL Thread Safe? ==

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message