cvs commit: apachen/src/main http_log.h

1998-01-04 Thread pcs
pcs 98/01/04 06:21:56

  Modified:src/main http_log.h
  Log:
  When reporting Win32 errors, do not show value of errno
  
  Revision  ChangesPath
  1.21  +1 -1  apachen/src/main/http_log.h
  
  Index: http_log.h
  ===
  RCS file: /export/home/cvs/apachen/src/main/http_log.h,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- http_log.h1997/12/07 15:48:00 1.20
  +++ http_log.h1998/01/04 14:21:55 1.21
  @@ -84,7 +84,7 @@
   #ifdef WIN32
   /* Set to indicate that error msg should come from Win32's GetLastError(),
* not errno. */
  -#define APLOG_WIN32ERROR ((APLOG_LEVELMASK+1) * 2)
  +#define APLOG_WIN32ERROR ((APLOG_LEVELMASK+1) * 2|APLOG_NOERRNO)
   #endif
   
   #ifndef DEFAULT_LOGLEVEL
  
  
  


cvs commit: apachen/src/main http_log.h http_log.c

1997-10-05 Thread Roy Fielding
fielding97/10/05 20:50:26

  Modified:src/main http_log.h http_log.c
  Log:
  Reverse last change -- it turns out that our internal priority numbers
  must match the syslog priority numbers.
  
  Revision  ChangesPath
  1.16  +6 -6  apachen/src/main/http_log.h
  
  Index: http_log.h
  ===
  RCS file: /export/home/cvs/apachen/src/main/http_log.h,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- http_log.h1997/10/05 08:12:44 1.15
  +++ http_log.h1997/10/06 03:50:24 1.16
  @@ -50,12 +50,12 @@
*
*/
   
  -#define  APLOG_NOTICE0   /* normal but significant condition */
  -#define  APLOG_EMERG 1   /* system is unusable */
  -#define  APLOG_ALERT 2   /* action must be taken immediately */
  -#define  APLOG_CRIT  3   /* critical conditions */
  -#define  APLOG_ERR   4   /* error conditions */
  -#define  APLOG_WARNING   5   /* warning conditions */
  +#define  APLOG_EMERG 0   /* system is unusable */
  +#define  APLOG_ALERT 1   /* action must be taken immediately */
  +#define  APLOG_CRIT  2   /* critical conditions */
  +#define  APLOG_ERR   3   /* error conditions */
  +#define  APLOG_WARNING   4   /* warning conditions */
  +#define  APLOG_NOTICE5   /* normal but significant condition */
   #define  APLOG_INFO  6   /* informational */
   #define  APLOG_DEBUG 7   /* debug-level messages */
   #define DEFAULT_LOGLEVEL APLOG_ERR
  
  
  
  1.38  +1 -1  apachen/src/main/http_log.c
  
  Index: http_log.c
  ===
  RCS file: /export/home/cvs/apachen/src/main/http_log.c,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- http_log.c1997/10/05 08:12:44 1.37
  +++ http_log.c1997/10/06 03:50:24 1.38
  @@ -135,12 +135,12 @@
   #endif
   
   static TRANS priorities[] = {
  -{notice,   APLOG_NOTICE},
   {emerg,APLOG_EMERG},
   {alert,APLOG_ALERT},
   {crit, APLOG_CRIT},
   {error,APLOG_ERR},
   {warn, APLOG_WARNING},
  +{notice,   APLOG_NOTICE},
   {info, APLOG_INFO},
   {debug,APLOG_DEBUG},
   {NULL,   -1},