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

[RFC] Svnserve Logging Specifications

From: David Mahakian <tmoli42_at_gmx.net>
Date: 2006-06-01 06:36:46 CEST

Hello everyone, I am the Google Summer of Code student working on the
Svnserve logging task.

I want to discuss with all of you the questions I have about the
requirements of this task.

The 'big' questions:

** What do we want to log? **
Errors, warnings, and informational always, or with a configurable log
level limit? Do we want granular control so say the hook script errors
are logged but login errors are not? I would go simple, with log level
but without granular controls.

** What information should the log messages give? **
Date/time, error/warn/info, and the message text. Anything else?

** What is the format for log messages? **
I would think similar or identical to apache error log unless strong
reasons otherwise. It would also be possible to set up (but not
implement because outside scope) the capability to log in a platform
specific manner, eg Windows event log, etc.

** What log file parameters are needed? **
location, file name, max size. Anything else?

** Where are log file parameters defined? **
command line options to svnserve, in svnserve.conf, or both?

** Should errors already output by the client be included? **
eg permission errors, login failures. I would think so.

** Localization of error messages? **
Would date/time and error messages themselves need to be localized? I am
not sure how this is handled in other parts of subversion.

I will be looking through the mod_dav_svn to see how its logging works
but have not done so yet. If you do know how it works, please share how
they answered the above questions.

Thank you for your input,

- David Mahakian

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 1 06:37:25 2006

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