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

Arshad Mohammad commented on ZOOKEEPER-2170:
--------------------------------------------

Thanks [~cnauroth] for looking into the issue.
It is good that we have option for customizing the logging behaviour through 
various ways.

But I think that default behaviour should come from log4j.properties because 
this is the place where any user by default will go for changing the log.
If ZOO_LOG4J_PROP values is not set then{color:red} we should not set any 
default value{color}, which is being set in zkEnv.sh, also we should not pass 
as system property.
Same thing should be done for other such variables like ZOO_LOG_DIR

> Zookeeper is not logging as per  the configuraiton in log4j.properties
> ----------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2170
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2170
>             Project: ZooKeeper
>          Issue Type: Bug
>            Reporter: Arshad Mohammad
>            Assignee: Chris Nauroth
>             Fix For: 3.6.0
>
>
> In conf/log4j.properties default root logger is 
> {code}
> zookeeper.root.logger=INFO, CONSOLE
> {code}
> Changing root logger to bellow value or any other value does not change 
> logging effect
> {code}
> zookeeper.root.logger=DEBUG, ROLLINGFILE
> {code}



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

Reply via email to