java - How to get debug log for standalone svnkit on Linux -
we're trying debug behaviour of svnkit during checkout on linux (debian) related jdk/jvm bug described here
- http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8172578
- https://bugs.openjdk.java.net/browse/jdk-8075484
we followed steps described here https://wiki.svnkit.com/troubleshooting renaming file conf/logging.properties.disabled logging.properties , replacing /usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/lib/logging.properties (which symlinks /etc/java-8-openjdk/logging.properties) produces log file under windows (in bin folder of svnkit standalone), has no effect under linux.
calling
./jsvn checkout --username xyz --password abc http://svn_server/svn/project/trunk/
makes ps aux
tell us
/usr/lib/jvm/java-1.8.0-openjdk-amd64/bin/java -djava.util.logging.config.file=/tmp/svnkit-1.8.15/conf/logging.properties -dsun.io.usecanoncaches=false -classpath /tmp/svnkit-1.8.15/lib/svnkit-1.8.15.jar:/tmp/svnkit-1.8.15/lib/sequence-library-1.0.3.jar:/tmp/svnkit-1.8.15/lib/sqljet-1.1.10.jar:/tmp/svnkit-1.8.15/lib/jna-4.1.0.jar:/tmp/svnkit-1.8.15/lib/jna-platform-4.1.0.jar:/tmp/svnkit-1.8.15/lib/trilead-ssh2-1.0.0-build221.jar:/tmp/svnkit-1.8.15/lib/jsch.agentproxy.connector-factory-0.0.7.jar:/tmp/svnkit-1.8.15/lib/jsch.agentproxy.svnkit-trilead-ssh2-0.0.7.jar:/tmp/svnkit-1.8.15/lib/antlr-runtime-3.4.jar:/tmp/svnkit-1.8.15/lib/jsch.agentproxy.core-0.0.7.jar:/tmp/svnkit-1.8.15/lib/jsch.agentproxy.usocket-jna-0.0.7.jar:/tmp/svnkit-1.8.15/lib/jsch.agentproxy.usocket-nc-0.0.7.jar:/tmp/svnkit-1.8.15/lib/jsch.agentproxy.sshagent-0.0.7.jar:/tmp/svnkit-1.8.15/lib/jsch.agentproxy.pageant-0.0.7.jar:/tmp/svnkit-1.8.15/lib/svnkit-cli-1.8.15.jar org.tmatesoft.svn.cli.svn checkout --username xyz --password abc http://svn_server/svn/project/trunk/
where
-djava.util.logging.config.file=/tmp/svnkit-1.8.15/conf/logging.properties
is part tells renamed logging.properties file being used configure logging.
the content of logging.properties is
svnkit.level=finest svnkit-network.level=finest svnkit-wc.level=finest svnkit-cli.level=finest handlers = java.util.logging.filehandler java.util.logging.filehandler.pattern = svnkit.%u.log java.util.logging.filehandler.limit = 0 java.util.logging.filehandler.count = 1 java.util.logging.filehandler.append = true java.util.logging.filehandler.formatter = java.util.logging.simpleformatter
any ideas doing wrong?
Comments
Post a Comment