You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2006/03/01 19:42:24 UTC

DO NOT REPLY [Bug 14090] - mod_cgid always writes to main server error log

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=14090>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=14090


dhgutteridge@hotmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dhgutteridge@hotmail.com




------- Additional Comments From dhgutteridge@hotmail.com  2006-03-01 19:42 -------
Since comments #6 and #7 indicate general mod_cgid logging issues are being
recorded here, I have another one to add.  When writing to stderr and mod_cgi is
used, the error log includes the usual information specified for the output
format (e.g. time stamp, client IP address) before the output from the script,
but when doing the same through mod_cgid, it does not seem to include this
information, meaning the CGI stderr output is without a specific identifying
context.  (This is with 2.0.55 on NetBSD 3.0/i386, mod_cgi with the prefork MPM
and mod_cgid with the worker MPM.)

So with mod_cgi, we get (first row included for visual context):

[Tue Feb 28 05:34:28 2006] [error] [client 192.168.1.5] mod_mime_magic: can't
read `/usr/pkg/libexec/cgi-bin/errtest.cgi'
[Tue Feb 28 05:34:28 2006] [error] [client 192.168.1.5] This should be going to
the Apache error log.

And with mod_cgid, we get:

[Tue Feb 28 06:09:36 2006] [error] [client 192.168.1.5] mod_mime_magic: can't
read `/usr/pkg/libexec/cgi-bin/errtest.cgi'
This should be going to the Apache error log.



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org