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

alexandrem do-not-reply at jboss.com
Thu May 22 07:23:30 EDT 2008


Hi all,

I'm having an issue when using java.util.logging.Logger, the output gets into ERROR level and into STDERR making it look like an error message. For instance, this line:

java.util.logging.Logger.getLogger(this.getClass().getName()).log( java.util.logging.Level.INFO, "This is an INFO message!" );
  | 
turns into:

12:07:22,625 ERROR [STDERR] May 22, 2008 12:07:22 PM org.apache.jsp.hi_jsp _jspService
  | INFO:  This is an INFO message!

Any reason why this is happening? I've looked at the log4j configuration and can't find any clue.

Thanks for the help,
Alexandre Mendonca

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

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



More information about the jboss-user mailing list