1 Reply Latest reply on Apr 30, 2005 4:19 AM by Darran Lofthouse

    Activate Log Rotation

    Mathias Willburger Newbie

      Is there a way to enable Log Rotation in JBoss? At the moment the size of the Logs gets too big to stay readable after a few days :(

      And how do i set the log warning level (e.g. to fatal?)

        • 1. Re: Activate Log Rotation
          Darran Lofthouse Master

          If you look in the log4j.xml in the conf folder you should see another appender that has been commented out called the 'RollingFileAppender' if you use this instead of the 'DailyRollingFileAppender' you can configure Log4j to start a new log file when the current one reaches a certain size.

          You can also specify how many old files to keep before they are deleted.