httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/server log.c
Date Wed, 23 Jun 2004 12:32:22 GMT
trawick     2004/06/23 05:32:22

  Modified:    .        CHANGES
               server   log.c
  Log:
  start piped loggers via the shell, passing through the environment variables
  in the httpd process
  
  this requires a new APR feature (APR_SHELLCMD_ENV), just added to apr 1.0-dev
  
  Revision  Changes    Path
  1.1520    +3 -2      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.1519
  retrieving revision 1.1520
  diff -u -r1.1519 -r1.1520
  --- CHANGES	20 Jun 2004 13:08:06 -0000	1.1519
  +++ CHANGES	23 Jun 2004 12:32:21 -0000	1.1520
  @@ -40,8 +40,9 @@
     *) Fix bug in mod_deflate that unconditionally sent deflate'd output
        even when Accept-Encoding is not present.  [Justin Erenkrantz]
   
  -  *) Pass environment variables through to piped loggers, resolving
  -     a regression since 1.3.  [Ken Coar, Jeff Trawick]
  +  *) Pass environment variables through to piped loggers and start
  +     them via the shell, resolving regressions since 1.3.  PR 28815
  +     [Ken Coar, Jeff Trawick]
   
     *) Enable the option to support anonymous shared memory in mod_ldap.
        This makes the cache work on Linux again. [Graham Leggett]
  
  
  
  1.147     +2 -2      httpd-2.0/server/log.c
  
  Index: log.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/log.c,v
  retrieving revision 1.146
  retrieving revision 1.147
  diff -u -r1.146 -r1.147
  --- log.c	9 Jun 2004 12:43:25 -0000	1.146
  +++ log.c	23 Jun 2004 12:32:22 -0000	1.147
  @@ -198,7 +198,7 @@
   
       if (((rc = apr_procattr_create(&procattr, p)) == APR_SUCCESS)
           && ((rc = apr_procattr_cmdtype_set(procattr,
  -                                           APR_PROGRAM_ENV)) == APR_SUCCESS)
  +                                           APR_SHELLCMD_ENV)) == APR_SUCCESS)
           && ((rc = apr_procattr_io_set(procattr,
                                         APR_FULL_BLOCK,
                                         APR_NO_PIPE,
  @@ -725,7 +725,7 @@
   
       if (((status = apr_procattr_create(&procattr, pl->p)) != APR_SUCCESS) ||
           ((status = apr_procattr_cmdtype_set(procattr,
  -                                            APR_PROGRAM_ENV)) != APR_SUCCESS) || 
  +                                            APR_SHELLCMD_ENV)) != APR_SUCCESS) || 
           ((status = apr_procattr_child_in_set(procattr,
                                                ap_piped_log_read_fd(pl),
                                                ap_piped_log_write_fd(pl)))
  
  
  

Mime
View raw message