httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bastiaan van der Put <...@web4friends.com>
Subject Re: piped log files
Date Sat, 29 Nov 2003 13:36:40 GMT
Been using the patch for a while now on 2.048
The patch was posted on the list on 2003-11-01 by Jeff Trawick.

Index: server/log.c
===================================================================
RCS file: /home/cvs/httpd-2.0/server/log.c,v
retrieving revision 1.135
diff -u -r1.135 log.c
--- server/log.c        14 Jul 2003 14:48:40 -0000      1.135
+++ server/log.c        1 Nov 2003 15:13:35 -0000
@@ -743,6 +743,8 @@
      apr_status_t status;

      if (((status = apr_procattr_create(&procattr, pl->p)) != APR_SUCCESS) ||
+        ((status = apr_procattr_cmdtype_set(procattr, APR_SHELLCMD))
+         != APR_SUCCESS) ||
          ((status = apr_procattr_child_in_set(procattr,
                                               ap_piped_log_read_fd(pl),
                                               ap_piped_log_write_fd(pl)))

But it seems not only some notice/error in the error logs
piped log program '/usr/local/apache2/bin/logresolve >> 
/home/accounts/x/xxxxxx/logs/access_log' failed unexpectedly

But also the program keeps running after stopping/starting apache.
So got a load of them.

Greetings, Bas


Mime
View raw message