This is an automated email from the ASF dual-hosted git repository.

nkalmar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zookeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new cbcfd04  ZOOKEEPER-3453: zkcli.cmd: ZOO_LOG_FILE is missing set / 
second try
cbcfd04 is described below

commit cbcfd0463a9c7e348bae9d3de6f076b29b73a229
Author: Jorg Heymans <[email protected]>
AuthorDate: Fri Jul 12 16:53:38 2019 +0200

    ZOOKEEPER-3453: zkcli.cmd: ZOO_LOG_FILE is missing set / second try
    
    This PR replaces https://github.com/apache/zookeeper/pull/1002/files
    
    Author: Jorg Heymans <[email protected]>
    
    Reviewers: Norbert Kalmar <[email protected]>
    
    Closes #1009 from jorgheymans/ZOOKEEPER-3453
---
 bin/zkCli.cmd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/zkCli.cmd b/bin/zkCli.cmd
index 6faf7e6..807ffaa 100644
--- a/bin/zkCli.cmd
+++ b/bin/zkCli.cmd
@@ -17,7 +17,7 @@ REM limitations under the License.
 setlocal
 call "%~dp0zkEnv.cmd"
 
-ZOO_LOG_FILE=zookeeper-%USERNAME%-cli-%COMPUTERNAME%.log
+set ZOO_LOG_FILE=zookeeper-%USERNAME%-cli-%COMPUTERNAME%.log
 
 set ZOOMAIN=org.apache.zookeeper.ZooKeeperMain
 call %JAVA% "-Dzookeeper.log.dir=%ZOO_LOG_DIR%" 
"-Dzookeeper.root.logger=%ZOO_LOG4J_PROP%" 
"-Dzookeeper.log.file=%ZOO_LOG_FILE%" -cp "%CLASSPATH%" %ZOOMAIN% %*

Reply via email to