cvs: php4 /sapi/apache2filter sapi_apache2.c
| From: | Sterling Hughes | Date: | Thu, 16 Aug 2001 05:19:29 +0000 |
| Subject: | cvs: php4 /sapi/apache2filter sapi_apache2.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-6879@lists.php.net to get a copy of this message | ||
sterling Thu Aug 16 01:19:29 2001 EDT
Modified files:
/php4/sapi/apache2filter sapi_apache2.c
Log:
Fix error logging
Index: php4/sapi/apache2filter/sapi_apache2.c
diff -u php4/sapi/apache2filter/sapi_apache2.c:1.39 php4/sapi/apache2filter/sapi_apache2.c:1.40
--- php4/sapi/apache2filter/sapi_apache2.c:1.39 Sun Aug 5 11:29:41 2001
+++ php4/sapi/apache2filter/sapi_apache2.c Thu Aug 16 01:19:29 2001
@@ -183,7 +183,7 @@
ctx = SG(server_context);
- apr_file_puts(msg, ctx->f->r->server->error_log);
+ aplog_error(NULL, 0, APLOG_ERR | APLOG_NOERRNO, ctx->f->r->server, "%s", msg);
}
static sapi_module_struct apache2_sapi_module = {