[jboss-user] [Management, JMX/JBoss] - Re: Console Halt

jaikiran do-not-reply at jboss.com
Fri Feb 20 23:26:02 EST 2009


You do have the console appender in your log4j configuration:


  | <appender name="CONSOLE1" class="org.apache.log4j.ConsoleAppender">
  |       <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
  |       <param name="Target" value="com.propco.tools.mergemanager.profiles.Out1"/>
  |       <param name="Threshold" value="INFO"/>
  |      <layout class="org.apache.log4j.PatternLayout">
  |          <!-- The default pattern: Date Priority [Category] Message\n -->
  |          <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
  |       </layout>
  |    </appender>

But it's not configured against any logger. I would add it to the root logger as follows:




 <root>
  |         <priority value="INFO"/>
  |         <appender-ref ref="ROLLING"/>
  |         <appender-ref ref="CONSOLE1"/>    
  |     </root>

By the way, Divya, this is not the correct forum for this question :) This is more of a log4j question which is best answered either in log4j's mailing list or in our Installation & Configuration forum :)

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

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



More information about the jboss-user mailing list