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

Re: Svnserve Logging (Yet again)

From: Madan U Sreenivasan <madan_at_collab.net>
Date: 2006-06-28 07:48:17 CEST

On Wed, 28 Jun 2006 00:11:38 +0530, Peter Samuelson <peter@p12n.org> wrote:

>
> [Garrett Rooney]
>> That's all well and good, but you still have to provide some way to
>> rotate the logs. Now that might just be "restart svnserve" or
>> something like that, it just needs to be possible.
>
> By which he means, close() and immediately open() the log file. You
> don't have to provide an actual mechanism for log rotation, that is
> normally done by system scripts. But those scripts have to be able to
> tell you to close the log file then open the file of the same name,
> which will actually be a new empty file.

Or how about generating a log-file name by appending the date/time stamp,
and once it reaches a specific (configured) size, open a new file with
another generated name?

This way, the adminisrator has control on how much log to retain - though
its not easy to keep checking every day for it ;)

Regards,
Madan.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 28 07:18:07 2006

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