3 Replies Latest reply on Jul 14, 2002 8:32 PM by Doug Pham

    Jboss 3.0.0 and Log4j #2

    Doug Pham Newbie

      Hello Again,

      Is it possible to have different package or class append to to a seperate files? I created two file appenders and set the following in my log4j.xml file
      .
      .
      .


      <appender-ref ref="fappender2" />




      <appender-ref ref="console"/>
      <appender-ref ref="fappender"/>
      <appender-ref ref="fappender2"/>


      </log4j:configuration>

      The following will log all messages from all classes (jboss and my own app) to both file appenders. What do I have to set or do to make sure that only my.package logging will go to my 2nd file appender?


      Thank You
      JG