You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sf...@apache.org on 2010/06/13 11:18:27 UTC
svn commit: r954188 - /httpd/httpd/trunk/include/http_log.h
Author: sf
Date: Sun Jun 13 09:18:20 2010
New Revision: 954188
URL: http://svn.apache.org/viewvc?rev=954188&view=rev
Log:
Use the correct loglevel checks in the wrappers for
ap_log_cerror/ap_log_rerror. This fixes per-dir loglevel configuration
for loglevels > notice.
Modified:
httpd/httpd/trunk/include/http_log.h
Modified: httpd/httpd/trunk/include/http_log.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/include/http_log.h?rev=954188&r1=954187&r2=954188&view=diff
==============================================================================
--- httpd/httpd/trunk/include/http_log.h (original)
+++ httpd/httpd/trunk/include/http_log.h Sun Jun 13 09:18:20 2010
@@ -349,7 +349,7 @@ AP_DECLARE(void) ap_log_perror_(const ch
/* need additional step to expand APLOG_MARK first */
#define ap_log_rerror(...) ap_log_rerror__(__VA_ARGS__)
#define ap_log_rerror__(file, line, mi, level, status, r, ...) \
- do { if (APLOG_MODULE_IS_LEVEL(r->server, mi, level)) \
+ do { if (APLOG_R_MODULE_IS_LEVEL(r, mi, level)) \
ap_log_rerror_(file, line, mi, level, status, r, __VA_ARGS__); \
} while(0)
#else
@@ -386,7 +386,7 @@ AP_DECLARE(void) ap_log_rerror_(const ch
/* need additional step to expand APLOG_MARK first */
#define ap_log_cerror(...) ap_log_cerror__(__VA_ARGS__)
#define ap_log_cerror__(file, line, mi, level, status, c, ...) \
- do { if (APLOG_MODULE_IS_LEVEL(c->base_server, mi, level)) \
+ do { if (APLOG_C_MODULE_IS_LEVEL(c, mi, level)) \
ap_log_cerror_(file, line, mi, level, status, c, __VA_ARGS__); \
} while(0)
#else