2 Replies Latest reply on Nov 20, 2002 1:40 PM by Erik Turesson

    Multiple logfiles

    Erik Turesson Novice

      Hello!

      I am using jboss 3.0.4.
      I deploy several instances of my application, ear file, within one JBoss.
      Each instance of the ear file defines its own virtual host.

      By default all logging is written into one file in the server/default/log directory. I have read in the log4j manual that it should be possible to configure log4j to log into different files for different virtual hosts.

      How do I configure JBoss to do this?
      I want one server.log and one request.log file for each instance of my ear file. It will be much easier to follow the traces then.

      /Erik