2 Replies Latest reply on Aug 13, 2002 8:03 PM by benpbenp

    Writing the Console Info to File with Log4j

    benpbenp

      Hi all.

      Does anyone know how to go about setting up log4j to write the console information to a file....

      thanks

      Ben

        • 1. Re: Writing the Console Info to File with Log4j
          joelvogt

          You mean the debug from jboss or in general? The jboss stuff should already go to jboss/log/server.log

          • 2. Re: Writing the Console Info to File with Log4j
            benpbenp

            > You mean the debug from jboss or in general? The
            > jboss stuff should already go to jboss/log/server.log

            The server.log contains all of the JBoss debugging, however we are currently developing a system and are having intermitent crashes of JBoss. What I would like to do is to write the system.out system.err and stack traces to file. I thought the best (and quickest and easiest) way would be to direct all the information from the console to a file. I have done this by modifing the batch file run.bat but would like to be able to roll it over nicely each day as well

            thanks