Debug Logging

SmartSVN outputs basic information to the log.txt file located in SmartSVN's settings directory. The detail level of the output information is controlled by the log4j.properties in the settings directory.

To increase the detail level for a certain category, like smartsvn.command, introduce a new category line resp. check whether there already exists a category line for smartsvn.command and set the level to DEBUG (or even TRACE):

log4j.category.smartsvn.command=DEBUG

Put the category line directly before the 'CONSOLE-Appender'-section. Then restart SmartSVN and perform the operation in question for which you want to get more detailled logging. log.txt should now receive this debug log information for the specific category (including all sub-categories).

Note

When asked to enable debug logging for a certain category xyz you have to replace smartsvn.command by xyz in the upper instructions.

Once the necessary information has been logged, don't forget to reset the level back to info or even completely remove the category. Then Zip or tar/gzip the log.txt file and send this archive, including a short description on how to reproduce the problem to smartsvn@syntevo.com.

More information on log4j.properties

The log4j.rootLogger line in the upper part of the configuration file specifies the default detail level and appender. By default, the level is set to INFO which means to only output information having at least an 'informational' priority. These settings can be overridden by adding category-lines.

The appender sections specify where the log output shall be written; an important appender is the file appender which is responsible to write to the log.txt file.