3 Replies Latest reply on May 26, 2010 4:47 AM by Fernando Salceda

    Size of karaf.log file

    Alex T Newbie

      Hi all,


      My web service is set up to do some batch processing every 10 sec.

      So, the log file grows very quickly because of the seting in /etc/org.ops4j.pax.logging.cfg:


      log4j.rootLogger=INFO, out, osgi:VmLogAppender


      I would like to still keep logging set to INFO level but be able to use




      to control the maximum karaf.log file size.

      I was wondering if anyone can provide example of setting RollingFileAppender or suggest any other way of controlling size of karaf.log.


      Any advice is greatly appreciated?