httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: A debugging convenience
Date Sun, 11 Apr 1999 20:54:23 GMT
Marc Slemko wrote:
> 
> On Sun, 11 Apr 1999, Ralf S. Engelschall wrote:
> 
> >
> > In article <370FAA82.884546A2@algroup.co.uk> you wrote:
> >
> > > A thing I hit today is that stuff logged without a server_rec gets
> > > chucked unless it is done during startup. This is a major pain for
> > > debugging (coz the relevant server_rec is often a zillion miles up the
> > > stack). I implemented a kludge that logs it to the main server log (i.e.
> > > stderr) iff the main server is logging at DEBUG level - shall I commit
> > > the change?
> >
> > I still try to understand the problem. After startup you should always have a
> > server_rec at hand, shouldn't you? Maybe you can also show the proposed patch,
> 
> Not if you are trying to add debugging statements from somewhere that
> doesn't have an API that gives it access to such things.

Exactly, such as low-level buff.c functions (which is where I hit the
problem). Of course, I could just write to stderr, but logging is much
more PC.

Cheers,

Ben.

--
http://www.apache-ssl.org/ben.html

"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
     - Indira Gandhi

Mime
View raw message