[jboss-user] [Beginners Corner] - Re: java.util.logging to Log4j mapping

jaikiran do-not-reply at jboss.com
Sat May 24 02:23:36 EDT 2008


Do you have a configuration file of your own for the java.util logger? If not, it will pick up the logging.properties file from lib folder of the JRE home. The logging.properties by default configures the handlers to 

handlers= java.util.logging.ConsoleHandler

As Peter already mentioned and as per the javadoc of ConsoleHandler 
http://java.sun.com/j2se/1.4.2/docs/api/java/util/logging/ConsoleHandler.html, this handler logs the messages to System.err. Here's the relevant part from the javadoc:

anonymous wrote : This Handler publishes log records to System.err.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153137#4153137

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153137



More information about the jboss-user mailing list