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 Fri, 17 May 2002 10:48:06 GMT
trawick     02/05/17 03:48:06

  Modified:    .        CHANGES
               include  http_log.h
               server   log.c
  Log:
  ignore APLOG_NOERRNO; note that it is deprecated
  
  Revision  Changes    Path
  1.776     +4 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.775
  retrieving revision 1.776
  diff -u -r1.775 -r1.776
  --- CHANGES	16 May 2002 19:05:23 -0000	1.775
  +++ CHANGES	17 May 2002 10:48:05 -0000	1.776
  @@ -1,5 +1,9 @@
   Changes with Apache 2.0.37
   
  +  *) The APLOG_NOERRNO flag to ap_log_[r]error() is now deprecated.
  +     It is currently ignored and it will be removed in a future release
  +     of Apache.  [Jeff Trawick]
  +
     *) Removed documentation references to the no-longer-supported
        "make certificate" feature of mod_ssl for Apache 1.3.x.  Test
        certificates, if truly desired, can be generated using openssl
  
  
  
  1.36      +3 -0      httpd-2.0/include/http_log.h
  
  Index: http_log.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/include/http_log.h,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- http_log.h	22 Apr 2002 03:25:40 -0000	1.35
  +++ http_log.h	17 May 2002 10:48:06 -0000	1.36
  @@ -102,6 +102,9 @@
   
   #endif
   
  +/* APLOG_NOERRNO is ignored and should not be used.  It will be
  + * removed in a future release of Apache.
  + */
   #define APLOG_NOERRNO		(APLOG_LEVELMASK + 1)
   
   /* Use APLOG_TOCLIENT to cause ap_log_rerror() to send the message
  
  
  
  1.119     +1 -1      httpd-2.0/server/log.c
  
  Index: log.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/log.c,v
  retrieving revision 1.118
  retrieving revision 1.119
  diff -u -r1.118 -r1.119
  --- log.c	22 Apr 2002 03:25:40 -0000	1.118
  +++ log.c	17 May 2002 10:48:06 -0000	1.119
  @@ -491,7 +491,7 @@
           len += apr_snprintf(errstr + len, MAX_STRING_LEN - len,
                               "[client %s] ", r->connection->remote_ip);
       }
  -    if (!(level & APLOG_NOERRNO) && (status != 0)) {
  +    if (status != 0) {
           char buf[120];
           len += apr_snprintf(errstr + len, MAX_STRING_LEN - len,
                               "(%d)%s: ", status,
  
  
  

Mime
View raw message