httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] vhost multiple error logs
Date Wed, 03 Mar 2010 01:59:03 GMT
On Tue, Mar 2, 2010 at 8:52 PM, Greg Cole <gcole@uoregon.edu> wrote:

>
> So how can I get a unique, dynamically named error log for each host? Something like
www.vhost1.org.error_log, www.vhost2.org.error_log,... All the while keeping this in one vhost
section.

You can't, because apache opens logfiles at startup not as requests arrive.

You can use something like mod_macro if you don't want to type out
your vhosts, or you can log the vhost name and split your logfiles
offline.


-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message