If you have the ErrorLog in a VirtualHost directive, then error message from that particular virtual server (including STDERR, which is waht I'm really interested in) go to that log. I guess all that I really would want is some way to prepend the name of the virtual host to any of those error strings. I don't understand how you bind a particular error message to a given output, but since it is done somewhere in the VirtualHost code, it seems as though that same mechanism could be used.
David. On Sun, 24 Aug 1997, Marc Slemko wrote: > Synopsis: Logging of virtual server to error_log as well > > State-Changed-From-To: open-suspended > State-Changed-By: marc > State-Changed-When: Sun Aug 24 15:59:12 PDT 1997 > State-Changed-Why: > Unfortunately, it isn't that easy to do something like > this. There are a lot of different places messages > can come from and they are not in a standardized form. > Also, any stderr from CGIs goes to the error log and we > can't control that. > > There are a few things that could be done to help a bit, > but I'm not aware of anyone planning to do so in the > forseeable future. > >
