diff options
| author | Sterling Hughes <sterling@php.net> | 2001-08-16 05:19:29 +0000 |
|---|---|---|
| committer | Sterling Hughes <sterling@php.net> | 2001-08-16 05:19:29 +0000 |
| commit | 9395f0e6e21fc4b1eecc50e387f8b75dc7a18e2d (patch) | |
| tree | 8f6c3f0dc135df3d74388b3616591d68383393e0 /sapi/apache2filter | |
| parent | 2b4c2a2ff5a06cf049eb674198365b079eca756f (diff) | |
| download | php-git-9395f0e6e21fc4b1eecc50e387f8b75dc7a18e2d.tar.gz | |
Fix error logging
Diffstat (limited to 'sapi/apache2filter')
| -rw-r--r-- | sapi/apache2filter/sapi_apache2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/apache2filter/sapi_apache2.c b/sapi/apache2filter/sapi_apache2.c index cca75156bf..31114bd8e3 100644 --- a/sapi/apache2filter/sapi_apache2.c +++ b/sapi/apache2filter/sapi_apache2.c @@ -183,7 +183,7 @@ static void php_apache_sapi_log_message(char *msg) 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 = { |
