httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Stone <Dani...@maxi.com.au>
Subject [BUG?] 2 error_logs?
Date Thu, 03 May 2001 09:26:20 GMT
Hi,

Not sure if this is a Bug, a "feature, not a bug!"(tm), or just PEBCAK.

My current setup is currently like this:

Vhost 1:
	CustomLog -> /usr/local/apache/logs/vhost1/access_log
	ErrorLog -> /usr/local/apache/logs/vhost1/error_log

Vhost 2:
	CustomLog -> /usr/local/apache/logs/vhost2/access_log
	ErrorLog -> /usr/local/apache/logs/vhost2/error_log
Vhost 3 (default, fallback, should never else be used):
	CustomLog -> /usr/local/apache/logs/vhost3/access_log
	ErrorLog -> /usr/local/apache/logs/vhost3/error_log

But, we want to add another set of logs for each vhost. So, the amended
setup would be:

Vhost 1:
	CustomLog -> /usr/local/apache/logs/vhost1/access_log
	ErrorLog -> /usr/local/apache/logs/vhost1/error_log
	CustomLog -> /usr/local/apache/logs2/vhost1/access_log
	ErrorLog -> /usr/local/apache/logs2/vhost1/error_log

Vhost 2:
	CustomLog -> /usr/local/apache/logs/vhost2/access_log
	ErrorLog -> /usr/local/apache/logs/vhost2/error_log
	CustomLog -> /usr/local/apache/logs2/vhost2/access_log
	ErrorLog -> /usr/local/apache/logs2/vhost2/error_log
Vhost 3 (default, fallback, should never else be used):
	CustomLog -> /usr/local/apache/logs/vhost3/access_log
	ErrorLog -> /usr/local/apache/logs/vhost3/error_log
	CustomLog -> /usr/local/apache/logs2/vhost3/access_log
	ErrorLog -> /usr/local/apache/logs2/vhost3/error_log

Unfortunately, this doesn't work. The error log for each only goes to the
second specified location, while the CustomLog goes to both. I suspect that
this is more of a lacking feature, but can this please be changed so that we
can do double-logging of error_log? (One is for a customer, one is for us).

Thanks!
:) d

(PS: I'm not subscribed to the list, please Cc: me on any replies).

-- 
Daniel Stone <DanielS@maxi.com.au>
Linux Administrator, maxi multimedia

Mime
View raw message