The only pure Java Subversion library in the world!
Home Get Library Knowledge Base Licensing

Logging JavaSVN operations

If you experience problems that you think are JavaSVN related, it is always a good idea to post a bug report into JavaSVN Issue Tracker. To provide more information with the bug report, please consider attaching JavaSVN log file to it. Below you will find detailed instructions on how to get JavaSVN log files.

JavaSVN is used as a library in a standalone application

By default JavaSVN operations logging is switched off. To enable it, you should replace the contents of the JAVA_HOME/jre/lib/logging.properties file with the contents of the logging.properties.disabled file that you can find in your "standalone" archive or in the javasvn/cli/ directory in case you've checked out the JavaSVN sources. Or when launching the Java VM you can use the following system property:

$java -Djava.util.logging.config.file=path/to/logging.properties.disabled

The logging.properties.disabled file contains a system property javasvn.level used to control the log level. Up to your needs you can specify the following values for that property:

  • FINE(default) - the level for not detailed logging
  • FINER - the level for more detailed logging
  • FINEST - the level for full logging

You may find a JavaSVN log file at USER_HOME/.javasvn/.javasvn.0.0.log.

Read this article to get to know how to customize logging JavaSVN operations.



If you have any questions regarding JavaSVN, would like to report a bug or contribute a patch, please write to support@tmatesoft.com