[ 
https://issues.apache.org/jira/browse/HBASE-12882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Hentschel updated HBASE-12882:
----------------------------------
    Status: Patch Available  (was: In Progress)

The patch can be tested in the following way:

{code}
export _JAVA_OPTIONS=-Dhbase.log.level=DEBUG
bin/start-hbase.sh
# Check log file if DEBUG messages are present
...
bin/stop-hbase.sh
export _JAVA_OPTIONS=-Dhbase.log.level=INFO
bin/start-hbase.sh
# Check log file if only INFO messages are present
...
bin/stop-hbase.sh
unset _JAVA_OPTIONS
{code}

> Log level for org.apache.hadoop.hbase package should be configurable 
> ---------------------------------------------------------------------
>
>                 Key: HBASE-12882
>                 URL: https://issues.apache.org/jira/browse/HBASE-12882
>             Project: HBase
>          Issue Type: Bug
>          Components: hbase
>    Affects Versions: 0.98.9, 0.94.26, 1.0.0
>            Reporter: Adrian Muraru
>            Assignee: Jan Hentschel
>         Attachments: HBASE-12882.master.001.patch
>
>
> {{conf/log4j.properties}} hardcodes log level for the top hbase package to 
> DEBUG: {{log4j.logger.org.apache.hadoop.hbase=DEBUG}}
> and there is no easy way to override it without modifying this file.
> It would be useful to have a variable, say {{hbase.log.level}}m in this file 
> so it can be passed from site environment: {{-Dhbase.log.level=INFO}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to