From a1ca0c1f484305719fc9eba69f629be1468f79c1 Mon Sep 17 00:00:00 2001 From: Rainer Jung Date: Tue, 19 Jan 2016 10:57:24 +0000 Subject: [PATCH] Remove new APLOGNO form mod_log_debug. Here we log the custom log messages provided by the user. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1725468 13f79535-47bb-0310-9956-ffa450edef68 --- modules/loggers/mod_log_debug.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/loggers/mod_log_debug.c b/modules/loggers/mod_log_debug.c index 45ba6edc9f..8a6c1244f5 100644 --- a/modules/loggers/mod_log_debug.c +++ b/modules/loggers/mod_log_debug.c @@ -79,12 +79,14 @@ static void do_debug_log(request_rec *r, const char *hookname) ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(00641) "Can't evaluate message expression: %s", err); if (APLOGrdebug(r)) - ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r, APLOGNO(02999) + /* Intentional no APLOGNO */ + ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r, "%s (%s hook, %s:%d)", msg, hookname, entry->msg_expr->filename, entry->msg_expr->line_number); else - ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r, APLOGNO(03000) + /* Intentional no APLOGNO */ + ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r, "%s", msg); } } -- 2.50.1