3 Replies Latest reply on May 30, 2013 2:00 PM by wdfink

    Rotating console.log

    mustaq.pradhan

      We are running JBoss EAP6.0 in domain configuration. I have configured sizing/rotating of the server logs at $JBOSS_HOME/domain/servers/<server-name>/server.log.

       

      But for $JBOSS_HOME/domain/console.log I can not find a way to configure the same. Please help.

      Is there any excepted best practice?

       

      Thanks for the help.

       

      Mustaq Pradhan.

        • 1. Re: Rotating console.log
          wdfink

          There is no domain/console.log by default.

          If you have done a domain.sh >domain/console.log this is a shell feature and you have no chance to rotate.

           

          Or am I wrong?

          1 of 1 people found this helpful
          • 2. Re: Rotating console.log
            mustaq.pradhan

            Thanks for the reply.

            Our system admins rolled out eap6 as a service and they are loggind teh std-out to this file.

            I will talk to them to find a way to manage this, may be piping to be able to rotate.

            Thanks again.

            • 3. Re: Rotating console.log
              wdfink

              You might change the CONSOLE appender or even delete it as the FILE appender will have all logging.

              For other reasons, i.e. ThreadDump or very hard errors it is necessary to keep the std-out file, but in this case there is no need for rotating