[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: John Peacock <jpeacock_at_rowman.com>
Date: 2006-06-30 13:41:22 CEST

David Mahakian wrote:
> + Do make sure to periodically close the log file temporarily to allow
> for log rotation

I think the original comment was that you need to /allow/ for a way for the OS
or external code to force a new log to be created (this is often accomplished
using signals, SIGHUP being a popular one). That way, logrotate (or whatever)
could rename the current file (which can be done while it is open) and then
signal svnserve to close and reopen the log file (which would create a new log
file). You can't just randomly close and reopen the log file, hoping that
something will notice; it has to be programmatically controlled.

Of course, I run everything under supervise, so writing to STDOUT works fine for
me. ;-) Thanks or taking on this task!

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Blvd
Suite H
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 30 13:41:34 2006

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