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


  | <category name="com.mycompany.package1">
  |   <priority value="ERROR" />
  |   <appender-ref ref="CONSOLE" />
  | </category>
  | 
  | <category name="com.mycompany.package2">
  |   <priority value="ERROR" />
  | </category>
  | 
  | <root>
  |   <priority value="INFO" />
  |   <appender-ref ref="SMTP" />
  |   <appender-ref ref="CONSOLE" />
  |   <appender-ref ref="FILE" />
  | </root>
  | 


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=4242268#4242268

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4242268
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to