httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p..@hyperreal.org
Subject cvs commit: apache-1.3/src/main http_main.c
Date Sat, 31 Jan 1998 14:54:22 GMT
pcs         98/01/31 06:54:22

  Modified:    src/main http_main.c
  Log:
  The Win32 debug macros now default to logging to the error log,
  at debug level, rather than to the console.
  
  Revision  Changes    Path
  1.279     +5 -2      apache-1.3/src/main/http_main.c
  
  Index: http_main.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/main/http_main.c,v
  retrieving revision 1.278
  retrieving revision 1.279
  diff -u -r1.278 -r1.279
  --- http_main.c	1998/01/30 09:59:21	1.278
  +++ http_main.c	1998/01/31 14:54:20	1.279
  @@ -112,11 +112,14 @@
   /* special debug stuff -- PCS */
   
     /* APD1() to APD5() are macros to help us debug. Then can either
  -   * log to the screen or the error_log file.
  +   * log to the screen or the error_log file. In release builds, this
  +   * macros do nothing. In debug builds, they send messages at priority
  +   * "debug" to the error log file, or if DEBUG_TO_CONSOLE is defined,
  +   * to the console.
      */
   
   # ifdef _DEBUG
  -#  ifdef DEBUG_TO_ERROR_LOG
  +#  ifndef DEBUG_TO_CONSOLE
   #   define APD1(a) aplog_error(APLOG_MARK,APLOG_DEBUG|APLOG_NOERRNO,server_conf,a)
   #   define APD2(a,b) aplog_error(APLOG_MARK,APLOG_DEBUG|APLOG_NOERRNO,server_conf,a,b)
   #   define APD3(a,b,c) aplog_error(APLOG_MARK,APLOG_DEBUG|APLOG_NOERRNO,server_conf,a,b,c)
  
  
  

Mime
View raw message