hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: Changing logging settings
Date Mon, 01 Feb 2016 20:03:14 GMT
On Thu, Jan 28, 2016 at 2:44 AM, Akmal Abbasov <akmal.abbasov@icloud.com>
wrote:

> Hi,
> I modified the default settings for logging in HBASE, by
> editing log4j.properties in $HBASE_HOME/conf directory.
> Here is settings,
> ...
> # Rolling File Appender properties
> hbase.log.maxfilesize=256MB
> hbase.log.maxbackupindex=15
>
> # Rolling File Appender
> log4j.appender.RFA=org.apache.log4j.RollingFileAppender
> log4j.appender.RFA.File=${hbase.log.dir}/${hbase.log.file}
>
> log4j.appender.RFA.MaxFileSize=${hbase.log.maxfilesize}
> log4j.appender.RFA.MaxBackupIndex=${hbase.log.maxbackupindex}
> ...
>
> I set hbase.log.maxbackupindex to 15, old value was 20.
> Rolling restarted the cluster, by restarting one daemon at a time.
> But when I checked the logs directory, there is still 20 log files for
> HBase master daemon.
> Does that mean that configs aren't working, or I should wait until the log
> remover will run and delete unnecessary logs?
>

You should give it a chance to run. Did your logging change have an effect?

And regards "...And is there any information about logging settings which
is outputted to log file when hbase daemon starts?..."

Not generally. You'd have to enable logging on the logging system.

St.Ack





> Thank you.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message