httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dean gaudet <>
Subject Re: buffered logs
Date Sat, 14 Oct 2000 12:59:33 GMT
On Wed, 13 Sep 2000, Mike Abbott wrote:

> But first, a question about plog:  What is it really for?

i had to dig through cvs annotate on apache-1.3's http_main.c to
remember what it's about:

revision 1.440
date: 1999/06/02 06:30:05;  author: dgaudet;  state: Exp;  lines: +13 -7
Piped error logs could cause a segfault if an error occured
during configuration after a restart.

PR:             4456
Submitted by:   Aidan Cully <>

the problem is that while doing configuration, you want somewhere to log
errors.  and if it's a server restart, the natural place is the old
configuration's error_log ... and if the old config's error_log was
through a pipe, you need to keep the pipe/resource in a pool that lives
longer than pconf.  so plog was born.


View raw message