hi all.

If i use the following lines of code under log4j 1.2.2

Logger.getRootLogger().addAppender( new ConsoleAppender( new PatternLayout( 
[%3.3t] [%c{1}] %m%n" ) ) );

i get the following error message and jboss dies.

ERROR: invalid console appender config detected, console stream is looping

I even tried: 
BasicConfigurator.configure( new ConsoleAppender( new PatternLayout( 
"%12.12d{ABSOLUTE} [%3.3t]
[%c{1}] %m%n" ) ) );

and got the same thing.

What am i doing wrong?

Do You Yahoo!?
Yahoo! Health - Feel better, live better

To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to