You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Bastiaan van der Put <ba...@web4friends.com> on 2004/03/19 20:27:31 UTC

Re: 2.0.49 rolled..piped logs

Hi,

piped log program '/usr/local/apache2/bin/logresolve >> 
/home/bassie/logs/access_log' failed unexpectedly

Bug still there....using this patch solves it again.

--- 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))


"piped log program '(null)' failed and respawning seems gone :)

Greetings, Bas