On Wed, Dec 07, 2005 at 06:24:46PM +0100, Bernhard Graf wrote: > On Wednesday 07 December 2005 13:05, Joshua N Pritikin wrote: > > [...] I figured out > > how to route the ErrorLog through /dev/fd/3 [...] > > namely? Well, the obvious part is the apache2 conf: ErrorLog /dev/fd/3 And run script is: exec /usr/sbin/apache2 -DNO_DETACH -E /dev/fd/1 3>&1 This has the nice property that the -E output goes through the same pipe as the error log. Sometimes I don't get a clean restart for whatever reason, so I added a finish script: sleep 5 rm -f /var/log/apache2/error/lock # maybe not needed pkill -9 apache2 And the log script is as usual: exec svlogd -tt /var/log/apache2/error I like -tt because modperl warnings don't otherwise get a timestamp. -- Make April 15 just another day, visit http://fairtax.org