2 Replies Latest reply on Jan 21, 2004 3:24 AM by juha

    LogFile per Application

    bdv

      Hi everybody,

      I already searched this forum for an aggreeable answer, but I haven't found one yet.
      I want JBOSS to create a logfile for each application that is deployed. So Not only a server.log but also application1.log and application2.log. I checked out Log4J, but can't find a proper solution.
      I want it to be an easy configuration, so it doesn't have to be a whole task if I upgrade my JBOSS.

      Can anybody help???

      BDV

        • 1. Re: LogFile per Application
          bdv

          I forgot to tell something really important.

          The solutions has to be in a way I haven't got to change any code in the application itself. So only in Jboss configuration.

          BDV

          • 2. Re: LogFile per Application

            Create a new file appender for your application and direct the log categories used in your application to that appender.