You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Kip Warner <Ki...@thevertigo.com> on 2006/07/16 20:22:46 UTC

Logging Access

Greetings,

Is it possible to configure my subversion server to log all access (svnserve)? As it stands right now, I can only see when people change code. I would like to also know everytime someone connects, their username, etc. I would imagine this would have something to do with hooks?

Kip

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Logging Access

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jul 16, 2006, at 22:22, Kip Warner wrote:

> Is it possible to configure my subversion server to log all access  
> (svnserve)? As it stands right now, I can only see when people  
> change code. I would like to also know everytime someone connects,  
> their username, etc. I would imagine this would have something to  
> do with hooks?

I don't think svnserve provides any logging at all. You could create  
your own logging system by writing various hooks. Note that there is  
no hook that is called when someone checks out, exports or updates a  
working copy, so you cannot log those events this way.


If you serve with Apache and mod_dav_svn instead, as of Subversion  
1.3.0 there is a high-level log available which will tell you what  
Subversion operations people perform and when:

http://subversion.tigris.org/svn_1.3_releasenotes.html#dav-logging


I have used this feature to create two new Subversion hooks, which  
are called after someone checks out, exports or updates a working copy:

http://www.ryandesign.com/svnhookdispatcher/

This is useful if you'd like to be immediately notified when someone  
gets your code, rather than wait and analyze the log files later.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org