This is a discussion on ErorrLog for a few hundred vhosts within the Apache Web Server forums, part of the Web Server and Related Forums category; HI, I want to sort the ErrorLog for my vhosts (ca. 700, name based), cool would a solution to have ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
On Mon, 19 Feb 2007 17:07:55 +0100, Davide Bianchi
<davideyeahsure@onlyforfun.net> wrote: hi Davide, >So if you can figure out for which vhost each line is, then you can >split the single error log. That was my question, if I could log that for any vhost. RTFM carefully but couldnt find anything about. >Well, you could increase the number of file descriptors available. I found this [1], before posting my article, but i am wondering, that there was no other little workaround for my ErrorLog problem. Thanx. Tom [1] http://httpd.apache.org/docs/misc/perf-tuning.html |
| Thread Tools | |
| Display Modes | |
|
|