next up previous contents
Next: Subversion Repositories over HTTPS Up: The http:// access schema Previous: Subversion Repositories with Basic   Contents

Logging of the Subversion Communication

We can use CustomLog directive in order to log the Subversion operations handled by the server. For example, we can log the timestamp, the Subversion action, the username and the remote ip address to a file at
logs/svn_access_log:

LogFormat "%t %{SVN-ACTION}e %u %a" svn_log_fmt
CustomLog logs/svn_access_log svn_log_fmt env=SVN-ACTION

The last argument of CustomLog env=SVN-ACTION means that the request will be logged only if the environment variable SVN-ACTION is set.

These two directives require mod_log_config.so module.



Ivan Ivanov 2008-04-21