ErorrLog for a few hundred vhosts
HI,
I want to sort the ErrorLog for my vhosts (ca. 700, name based),
cool would a solution to have a single file for every vhost.
Server is Apache2, debian Linux.
apache2.conf
[...]
# Log vhosts
LogFormat "%v %h %l %u %t \"%r\" %>s %b" vhost
CustomLog /var/log/apache2/logs/multiple_vhost_log vhost
# error log.
ErrorLog /var/log/apache2/error.log
[...]
Work fine with "split-logfile" to generate a single file for every
vhost, but only access_log.
That would be my question, if this is possible for the ErrorLog?
Or write a higher level of ErrorLog and then scripting it with the
shell or perl.
To write an ErrorLog-directive in any vhost wont work, the apache2
wouldn't start (file descriptor limits).
Any ideas?
Tom
|