1 Reply Latest reply on Jan 4, 2003 10:10 PM by t g

    Log4J configuration

    Miro Newbie

      I have application on jboss 3.0.4 and idea to have separate configuration file of log4j for my application (in app folder) and separate for server(in default/conf). JBOSS will have INFO treshold for file, console, ... and my application will have DEBUG tresholds for the same appenders. It is possible to have this?
      Thanks very much

      Miro

        • 1. Re: Log4J configuration
          t g Newbie

          yes it is. 2 steps

          1. Define another appender like the default one. Example below:




          2. Add a category tag that connects the package you want to log with the new appender


          <appender-ref ref="NEWAPPENDER"/>


          done