1 Reply Latest reply on Sep 27, 2007 12:44 PM by peterj

    limit Run.log size

    dymow

      When JBoss runs as a Windows Service, the logs which should go to the console window go to the /bin/run.log file. My application runs 24x7, so I would like to know if is there a way to limit this file size, because this file can take, if JBoss runs for a long time, all the available disk space.

        • 1. Re: limit Run.log size
          peterj

          The console log uses Log4J, you can edit the settings in server/xxx/conf/jboss-log4j.xml. Just substitute one of the other appenders, such as the org.jboss.logging.appender.RollingFileAppender, in place of the existing ConsoleAppender.