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

Re: Svnserve still exiting randomly in threaded mode

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-05-18 04:17:53 CEST

On Mon, 2004-05-17 at 21:49, Branko ibej wrote:
> * The fact that svnserve does not do any logging is a big problem here

Any ideas on how we should implement a portable logging primitive? I
feel like it's our responsibility to use syslog() by default on Unix,
but obviously that's not portable to Windows. httpd isn't much of an
example; I think it only believes in logging to a file under the server
root, which isn't a concept we have.

> I think we need to put a pretty hugh priority on stabilizing threaded
> svnserve, and adding server-side logging.

Much as I'd like to have server-side logging, I don't see how it's
connected to the other problem. The process died (with status 58, which
is weird--I don't think any part of our code exits with any status other
than 0 or 1), and you'll need a debugger to figure out why.

(Unless you mean server-side logging at the level of printf debugging.
That seems excessive.)

> (I'm assuming the same would happen on Linux in threaded mode)

I can't make it happen. The odd exit status makes me think the problem
is somewhere deep and Windows-specific, which means I can't help much.

John Peacock wrote:
> or can I just add a new commandline switch that spews logs on STDOUT
> (which is all I need)?

Well, I don't think we'd have anything very useful if that's all we did,
but it would be something.

> Anyone want to nominate /how much/ logging happens [...]?

syslog has a good mechanism for this, and I'd like to use it if the
Windows equivalent isn't too screwy.

I'm not really keen on having "really compulsive debugging logs"
cluttering up our code, particularly because we'd have to delve into the
library code before it would be very useful. Informational logs on what
client requests are being performed is as deep as I'd like to go.

Branko wrote:
> and also a global config file (/etc/svn/svnserve?)/

We don't have a global svnserve config file. Partly because it's
simpler to declare that all configuration happens at the repository
level, and partly because I have no idea how to locate a global
configuration file under Windows. (httpd, once again, went its own
route and invented the "conf" subdir of the server root.)

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 18 04:18:13 2004

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

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