[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Logging Access

From: Ryan Schmidt <subversion-2006c_at_ryandesign.com>
Date: 2006-07-17 16:59:26 CEST

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
Received on Mon Jul 17 17:01:39 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.