httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@znep.com>
Subject [PATCH] PR#1352: mod_cgi logging broken
Date Tue, 04 Nov 1997 01:02:18 GMT
Slightly different than the patch supplied to maintain consistency.

Index: mod_cgi.c
===================================================================
RCS file: /export/home/cvs/apachen/src/modules/standard/mod_cgi.c,v
retrieving revision 1.62
diff -u -r1.62 mod_cgi.c
--- mod_cgi.c	1997/10/25 22:35:18	1.62
+++ mod_cgi.c	1997/11/04 00:53:52
@@ -164,8 +164,8 @@
 {
     FILE *f;
 
-    aplog_error(APLOG_MARK, show_errno|APLOG_ERR, r->server, error,
-		r->filename);
+    aplog_error(APLOG_MARK, show_errno|APLOG_ERR, r->server, "%s, reason: %s",
+                error, r->filename);
 
     if (!conf->logname ||
 	((stat(server_root_relative(r->pool, conf->logname), &r->finfo) == 0)



Mime
View raw message