www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Birnbaum <dav...@chelsea.net>
Subject mod_log-any/1050: Logging of virtual server to error_log as well
Date Sun, 24 Aug 1997 03:50:02 GMT

>Number:         1050
>Category:       mod_log-any
>Synopsis:       Logging of virtual server to error_log as well
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Sat Aug 23 20:50:01 1997
>Originator:     davidb@chelsea.net
>Release:        1.2.x
Solaris 2.5.1
I have written some perl scripts to allow my apache server to run any number
of virtual servers under Solaris.  The script also allows for splitting out 
access_log files to for each server by adding the %v option to the CustomLog
directive.  The question - would it be possible to allow the %v option to
apply to the error_log as well?  That would be very convenient, as we want to
give our clients access to their error_log for debugging CGI script problems
and looking for missing files, but unfortunately they have to look at the
error_log for the entire server.

I'm going to post the scripts to the web as soon as they've been tested a bit
more - it's nothing too special really, just a cascading PERL job for every
200 FD, and probably none too efficient, but it works dandy for these big low/
medium usage multiple VD servers.

Either allow a CustomErrorLog directive, or perhaps a very simple
VirtualErrorLog which puts the virtual server name as a leader in the error

  www.foo.com: access to /usr/local/httpd/DOMAINS...

View raw message