httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn <>
Subject Re: piped log files
Date Thu, 06 Nov 2003 16:25:34 GMT
On Thu, Nov 06, 2003 at 11:02:16AM -0500, Jeff Trawick wrote:
> Jeff Trawick wrote:
> >Bastiaan van der Put wrote:
> >
> >>CustomLog "|/usr/local/apache2/bin/logresolve >> 
> >>/home/accounts/x/xxxxx/logs/access_log" combined
> >
> >
> >unless somebody speaks up soon, I'll commit the patch to Apache 2.1-dev
> status: I hit a bit of a hangup that must be debugged :(
> there are two pieces of code handling piped loggers: error log and 
> mod_log_config...  in 1.3, both handled shell operations...  in 2.0, as you 
> discovered, neither handles shell operations
> the patch you are using is fine AFAICT, but trying the same change to the 
> code to handle piped error log results in quite a bit of unhappiness (no 
> logging at all)...  that needs to be tracked down before trying to fix half 
> the problem

Maybe out in left field, but could ErrorLog be moved from the core
and into mod_log_config?  Then, if mod_log_config is not present,
or no ErrorLog directive is specified, then stderr can be used.
Any special reason to keep it in the core?


View raw message