httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artem Kuchin" <mat...@itlegion.ru>
Subject Re: [users@httpd] logging into stderr using mod_cgid
Date Mon, 15 Oct 2007 08:58:28 GMT
>> I have submitted a bug report about this 1-2 years ago and
>> decided to check this issue today in otder to switch to
>> worker mpm.
>> The problem is that when using cgid and print to stderr,
>> say, like this
>> fprintf(stderr,"Hello error log!");
>> 
>> the messages goes into main server log, not into virtual server
>> log.
>> 
>> When using just mod_cgi the messages goes, as it should,
>> into virtual host error log.
>> 
>> The problem is that if server runs tons of virtual hosts (each
>> is a separate client) none of virtual hosts users can debug their
>> cgi programs.
>> 
>> Any idea on this issue?
>Octavian Rasnita wrote:
> It happends the same when using Catalyst framework with mod_perl.
> 
> Catalyst's debug messages go to the virtualhost log file, but the
> errors go to the main server's log file.
> 
> Octavian
> 

So, any idea how to fix it? Is it even fixable?

--
Regards,
Artem


---------------------------------------------------------------------
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