httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bjoern A. Zeeb" <bzeeb-li...@lists.zabbadoz.net>
Subject need to read error_logs from httpd ?
Date Thu, 13 Mar 2003 19:49:14 GMT
Hi,

is there a need that we open error_log for reading from within httpd ?


--- httpd-2.0/server/log.c.orig	Thu Mar 13 19:47:20 2003
+++ httpd-2.0/server/log.c	Thu Mar 13 19:47:48 2003
@@ -313,7 +313,7 @@
             return DONE;
         }
         if ((rc = apr_file_open(&s->error_log, fname,
-                               APR_APPEND | APR_READ | APR_WRITE | APR_CREATE,
+                               APR_APPEND | APR_WRITE | APR_CREATE,
                                APR_OS_DEFAULT, p)) != APR_SUCCESS) {
             ap_log_error(APLOG_MARK, APLOG_STARTUP, rc, NULL,
                          "%s: could not open error log file %s.",

-- 
Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT
56 69 73 69 74				http://www.zabbadoz.net/

Mime
View raw message