Hi Shekar,
Currently by default, the log4j is using DailyRollingFileAppender. You can
change the log4j.xml to config as you want. Usually, daily base is good
enough.
Thanks,
Fang, Yan
yanfang...@gmail.com
On Thu, May 14, 2015 at 10:56 AM, Shekar Tippur ctip...@gmail.com wrote:
Hello,
How
Hi, Shekar,
Are you having a problem w/ retention of too many old log files on disk? I
did a quick search online to see whether there is any configuration for
DailyRollingFileAppender and couldn't find any. The closest thing is this
one:
Hey Shekar,
You can also use the RollingFileAppender. You can both
specify the maximum number of files and the maximum number of files you want to
keep.
https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/RollingFileAppender.html#maxBackupIndex
On May 14, 2015, at
Thanks Yan.
- Shekar
On Thu, May 14, 2015 at 5:07 PM, Yi Pan nickpa...@gmail.com wrote:
Hi, Shekar,
Are you having a problem w/ retention of too many old log files on disk? I
did a quick search online to see whether there is any configuration for
DailyRollingFileAppender and couldn't find