How Do I Enable Debug Logging for SVNKit
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Enable additional logging by adding the following JVM system property while launching the application:
-Djava.util.logging.config.file=path/to/logging.properties.disabled
Save the following code as logging.properties.disabled:
.level=FINEST handlers = java.util.logging.FileHandler java.util.logging.FileHandler.pattern = %h/svnkit.%u.log java.util.logging.FileHandler.limit = 20480KB java.util.logging.FileHandler.count = 10 java.util.logging.FileHandler.append = true java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
This file contains a system property,
svnkit.level
, which is used to control the log level:FINE (default) — the level for non-detailed logging
FINER — the level for more detailed logging
FINEST — the level for full logging
Configure Fisheye/Crucible to start with the
-Djava.util.logging.config.file=*path/to/*logging.properties.disabled
parameter and value, where "path/to/
" refers to the absolute path to thelogging.properties.disabled
file from step (1) as per instructions here .Restart Fisheye/Crucible for your changes to take effect.
You will find the
SVNKit
log file in<USER_HOME>/svnkit.0.log
where <USER_HOME>
is the home directory of the user running Fisheye/Crucible or the user that you are logged in with e.g:/home/charlie/svnkit.0.log
.
Was this helpful?