From 3939d3eae875607c76d7bb3314ff6ca6d0590f40 Mon Sep 17 00:00:00 2001 From: jongfoster Date: Thu, 13 Sep 2001 20:08:06 +0000 Subject: [PATCH] Adding support for LOG_LEVEL_CGI --- errlog.c | 8 +++++++- errlog.h | 12 ++++++++++-- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/errlog.c b/errlog.c index 7f289e8c..fad5d6e5 100644 --- a/errlog.c +++ b/errlog.c @@ -1,4 +1,4 @@ -const char errlog_rcs[] = "$Id: errlog.c,v 1.17 2001/09/10 10:17:13 oes Exp $"; +const char errlog_rcs[] = "$Id: errlog.c,v 1.18 2001/09/10 11:27:24 oes Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/errlog.c,v $ @@ -33,6 +33,9 @@ const char errlog_rcs[] = "$Id: errlog.c,v 1.17 2001/09/10 10:17:13 oes Exp $"; * * Revisions : * $Log: errlog.c,v $ + * Revision 1.18 2001/09/10 11:27:24 oes + * Declaration of w32_socket_strerr now conditional + * * Revision 1.17 2001/09/10 10:17:13 oes * Removed unused variable; Fixed sprintf format * @@ -364,6 +367,9 @@ void log_error(int loglevel, char *fmt, ...) outc = sprintf(outbuf, "IJB(%ld) Kill-Popups: ", this_thread); break; #endif /* def FEATURE_KILL_POPUPS */ + case LOG_LEVEL_CGI: + outc = sprintf(outbuf, "IJB(%d) CGI: ", this_thread); + break; default: outc = sprintf(outbuf, "IJB(%ld) UNKNOWN LOG TYPE(%d): ", this_thread, loglevel); break; diff --git a/errlog.h b/errlog.h index fc716185..a28daf68 100644 --- a/errlog.h +++ b/errlog.h @@ -1,6 +1,6 @@ #ifndef ERRLOG_H_INCLUDED #define ERRLOG_H_INCLUDED -#define ERRLOG_H_VERSION "$Id: errlog.h,v 1.8 2001/07/29 18:43:08 jongfoster Exp $" +#define ERRLOG_H_VERSION "$Id: errlog.h,v 1.9 2001/07/30 22:08:36 jongfoster Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/errlog.h,v $ @@ -35,6 +35,12 @@ * * Revisions : * $Log: errlog.h,v $ + * Revision 1.9 2001/07/30 22:08:36 jongfoster + * Tidying up #defines: + * - All feature #defines are now of the form FEATURE_xxx + * - Permanently turned off WIN_GUI_EDIT + * - Permanently turned on WEBDAV and SPLIT_PROXY_ARGS + * * Revision 1.8 2001/07/29 18:43:08 jongfoster * Changing #ifdef _FILENAME_H to FILENAME_H_INCLUDED, to conform to * ANSI C rules. @@ -131,9 +137,11 @@ extern "C" { #define LOG_LEVEL_CLF 0x0200 /* Common Log File format */ #ifdef FEATURE_KILL_POPUPS -#define LOG_LEVEL_POPUPS 0x0400 /* Kill Popups */ +#define LOG_LEVEL_POPUPS 0x0400 /* Kill Popups */ #endif /* def FEATURE_KILL_POPUPS */ +#define LOG_LEVEL_CGI 0x0800 /* CGI / templates */ + /* Following are always on: */ #define LOG_LEVEL_INFO 0x1000 #define LOG_LEVEL_ERROR 0x2000 -- 2.39.2