1 Reply Latest reply on Nov 1, 2006 4:40 AM by Tor Arne Kvaløy

    Strange console output when using my own Log4j config file

    Tor Arne Kvaløy Newbie

      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