diff options
author | Rainer Jung <rjung@apache.org> | 2016-01-19 11:57:24 +0100 |
---|---|---|
committer | Rainer Jung <rjung@apache.org> | 2016-01-19 11:57:24 +0100 |
commit | a1ca0c1f484305719fc9eba69f629be1468f79c1 (patch) | |
tree | 130ce1261a79357f4a738d70488db231a11fce38 /modules/loggers | |
parent | Fix a typo when building a TRACE8 message. (diff) | |
download | apache2-a1ca0c1f484305719fc9eba69f629be1468f79c1.tar.xz apache2-a1ca0c1f484305719fc9eba69f629be1468f79c1.zip |
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
Diffstat (limited to 'modules/loggers')
-rw-r--r-- | modules/loggers/mod_log_debug.c | 6 |
1 files 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); } } |