Have a look at http://logging.apache.org/log4j/1.2/manual.html
There are some example configurations for different appenders. An example for the RollingFileAppender is also there. Regards Lars 2010/5/11 lekkie <[email protected]>: > > Thanks. > > Can you point me to the documentation? > > I will also like to configure max file size, and if possible number of log > files keep-able? > > regards. > > > Jean-Baptiste Onofré wrote: >> >> Change to a RollingFileAppender in etc/org.ops4j.logging.... >> ------Original Message------ >> From: lekkie >> To: [email protected] >> ReplyTo: [email protected] >> Subject: Rotating karaf log >> Sent: May 11, 2010 11:48 >> >> >> How can I ensure karaf.log is rotated? >> -- >> View this message in context: >> http://old.nabble.com/Rotating-karaf-log-tp28522041p28522041.html >> Sent from the ServiceMix - User mailing list archive at Nabble.com. >> >> >> >> >> > > -- > View this message in context: > http://old.nabble.com/Rotating-karaf-log-tp28522041p28522246.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. > > -- http://lhein.blogspot.com
