You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2019/11/05 16:33:14 UTC

[GitHub] [bookkeeper] eolivelli opened a new issue #2197: bkctl binary distribution needs a 'logs' directory to be created manually

eolivelli opened a new issue #2197: bkctl binary distribution needs a 'logs' directory to be created manually
URL: https://github.com/apache/bookkeeper/issues/2197
 
 
   **BUG REPORT**
   
   ***Describe the bug***
   
   A clear and concise description of what the bug is.
   
   ***To Reproduce***
   
   unzip bkctl-4.10.0-bin.tar.gz 
   set JAVA_HOME with JDK11+
   run bin/bkctl 
   
   ```
   [0.003s][error][logging] Error opening log file '/Users/enrico.olivelli/Downloads/bkctl-4.10.0/logs/bkctl-gc.log': No such file or directory
   [0.003s][error][logging] Initialization of output 'file=/Users/enrico.olivelli/Downloads/bkctl-4.10.0/logs/bkctl-gc.log' using options 'filecount=5,filesize=64m' failed.
   Invalid -Xlog option '-Xlog:gc=info:file=/Users/enrico.olivelli/Downloads/bkctl-4.10.0/logs/bkctl-gc.log::filecount=5,filesize=64m', see error log for details.
   Error: Could not create the Java Virtual Machine.
   Error: A fatal exception has occurred. Program will exit.
   ```
   
   ***Expected behavior***
   
   The program runs well.
   
   
   ***Workaround***
   
   Just simply creating the 'logs' directory solves the problem.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services