[ 
https://issues.apache.org/jira/browse/HBASE-17007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15637883#comment-15637883
 ] 

Esteban Gutierrez commented on HBASE-17007:
-------------------------------------------

We thought about removing only the classpath initially but that requires to 
patch ZooKeeper to change the client logging level for ZK.  Also ZooKeeper is 
used by some coprocessors like Tephra and Phoenix and logs get polluted quite 
easily due other tasks done by those CPs. There is another alternative and 
that's removing the duplicated classpath from the logs by adding CLASSPATH  to 
the list of skipwords in ServerCommandLine but usually the CLASSPATH 
environment string is shorter than java.class.path as reported by the jvm which 
is what ZK si dumping. In a quick test the whole line with java.class.path is 
63076 bytes long vs 14293 bytes long for the string that contains the CLASSPATH.

> Move ZooKeeper logging to its own log file
> ------------------------------------------
>
>                 Key: HBASE-17007
>                 URL: https://issues.apache.org/jira/browse/HBASE-17007
>             Project: HBase
>          Issue Type: Bug
>          Components: Zookeeper
>            Reporter: Esteban Gutierrez
>            Assignee: Esteban Gutierrez
>            Priority: Trivial
>         Attachments: 
> 0001-HBASE-17007-Move-ZooKeeper-logging-to-its-own-log-fi.patch
>
>
> ZooKeeper logging can be too verbose. Lets move ZooKeeper logging to a 
> different log file.



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

Reply via email to