I uncomment MaxBackupIndex and restart regionserver but warn message as
follows:
starting regionserver, logging to
/app/cloud/hbase/bin/../logs/hbase-uuwatch-regionserver-gentoo_uuwatch_183.out
log4j:WARN No such property [maxBackupIndex] in
org.apache.log4j.DailyRollingFileAppender.
On Thu,
Hi,
On 02/16/2011, at 4:51 PM, 陈加俊 wrote:
How to limit the number of logs that producted by DailyRollingFileAppender ?
I find the logs are exceeding disk apace limit.
If you're using log4j.properties coming with HBase, uncomment MaxBackupIndex
property ant change its value.
# 30-day
I want to limit the number of log files for a DailyRollingFileAppender. I
search for a parameter like maxBackupIndex (in RollingFileAppender) but can
not find one. Is there really no way to limit the number of log-Files?
What is the strategy to ensure that the (number) of log files do not
Did you try MaxBackupIndex? Didn't it work?
I found this in Log4j wiki, but I don't know if this class has been merged into
log4j trunk.
http://wiki.apache.org/logging-log4j/DailyRollingFileAppender
I've change the DailyRollingFileAppender to support the MaxBackupIndex, this
is the class to
How to limit the number of logs that producted by DailyRollingFileAppender ?
I find the logs are exceeding disk apace limit.