• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 505
  • Last Modified:

list of ip who are accessing the svn repository.


Please let me know how can we find out the ip of the machines who have accessing our svn repository.
1 Solution
Giovanni HewardCommented:
To do this, you need to make use of Apache's CustomLog directive

<Location /svn>
  DAV svn


CustomLog logs/svn_logfile "%t %u %{SVN-ACTION}e" env=SVN-ACTION

Open in new window

Read more about that here, under the Apache logging section.  More detail is available here.

Here's an example:

LogFormat "%{%Y-%m-%d %T}t %u@%h %>s repo:%{SVN-REPOS-NAME}e %{SVN-ACTION}e (%B Bytes in %T Sec)" svn

CustomLog "/var/log/apache2/subversion_log" svn env=SVN-ACTION

Which now looks like:

2010-04-09 14:41:50 peternixon@ 200 repo:myproject checkout-or-export
/ r5317 depth=infinity (875377105 Bytes in 217 Sec)

Read this for more info.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now