1 Reply Latest reply on Jul 7, 2009 1:56 PM by Brett Cave

    log4j config file behaviour

    Brett Cave Newbie

      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?