[jboss-user] [Installation, Configuration & Deployment] - Strange console output when using my own Log4j config file

torarnek@pvv.org do-not-reply at jboss.com
Wed Nov 1 04:36:00 EST 2006


Hello!

I am configuring my log4j with an xml file where I define an appender who prints to system output. (I see the output in the eclipse-console)

<appender name="MyCon"class="org.apache.log4j.ConsoleAppender">
  
  
  
  



I load this file using DOMConfigurator.configure(log4jFile.getPath());

The strange thing is that my output looks like this:

10:26:54,497 INFO  [STDOUT] 10:26:54,497 DEBUG [MyClass] some text

It always prints this "10:26:54,497 INFO  [STDOUT]" in front of my debug info.

This is quite annoying, so I wonder if you have any suggestions on how I can fix this? 

Thank you very much!

Best regard,
Tor

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

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



More information about the jboss-user mailing list