[jboss-user] [Installation, Configuration & DEPLOYMENT] - log4j config file behaviour

brettcave do-not-reply at jboss.com
Tue Jul 7 13:34:51 EDT 2009

In jboss-log4j.conf, how does defining categories affect which appenders are used. E.g. If I have something like:

  <appender-ref ref="CONSOLE" />


  <appender-ref ref="SMTP" />
  <appender-ref ref="CONSOLE" />
  <appender-ref ref="FILE" />

Will com.mycompany.package1 only log ERROR to console?
Will com.mycompany.package2 log ERROR to all appenders in the root?

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

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

More information about the jboss-user mailing list