httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roy Fielding <field...@hyperreal.org>
Subject cvs commit: apachen/src/main http_log.h http_log.c
Date Mon, 06 Oct 1997 03:50:27 GMT
fielding    97/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  Changes    Path
  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.h	1997/10/05 08:12:44	1.15
  +++ http_log.h	1997/10/06 03:50:24	1.16
  @@ -50,12 +50,12 @@
    *
    */
   
  -#define	APLOG_NOTICE	0	/* 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_NOTICE	5	/* 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.c	1997/10/05 08:12:44	1.37
  +++ http_log.c	1997/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},
  
  
  

Mime
View raw message