2 Replies Latest reply on Apr 10, 2006 3:01 PM by abrhaao

    Log Settings

    lycovian

      For our JBoss servers (4.03 RC1) when they are rebooted they overwrite the existing server.log rather than appending to it. Today we had all three of our servers crash simulataneously. I wanted to check the logs to see if they threw errors before they crashed but the logs all show the reboot of the server as their first messages.

      So, is there a way to tell JBoss to append to the existing log rather than simply overwriting it?

        • 1. Re: Log Settings
          jiwils

           

          "lycovian" wrote:
          So, is there a way to tell JBoss to append to the existing log rather than simply overwriting it?

          Check the log4j.xml file that you are using in your server configuration's conf directory or this http://wiki.jboss.org/wiki/Wiki.jsp?page=Logging wiki.

          • 2. Re: Log Settings
            abrhaao

            I have a question about log settings.

            The jboss4.0.1 is running in our server machine, and I saw on log4j.xml, every day theres a new file "server.log.2006.mm.yy". I would like keep this for a while.

            Is there any possible configuration in JBoss where automaticly delete old log files (e.g one month ago)??