1 Reply Latest reply on Sep 20, 2002 10:05 AM by dediana

    logging all logs from the EJB in a seperate file

    stefus

      I want to write all logs from my Entity Bean in a seperate file in the JBOSS_HOME/server/all/log directory.

      What must I do so that is work?

      I use Jboss 3.0.2.

      Reagrds
      Stefan

        • 1. Re: logging all logs from the EJB in a seperate file
          dediana

          You have to add new appender and category elements to log4j.xml.
          In your appender you can configure the output file.
          Your category element will look like this

          <category name="BeanPackageName">
          <priority value="DEBUG"/>
          <appender-ref ref="AppenderName" />
          </category>

          Regards,
          Dediana