diff options
author | Yann Ylavic <ylavic@apache.org> | 2021-09-20 19:51:21 +0200 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2021-09-20 19:51:21 +0200 |
commit | c64996059289dce8008a02b9b696f8a3cd89091c (patch) | |
tree | 5260dc86875578856c1ac126b03ba77b27d6994e | |
parent | More of test -n wants a single argument. (diff) | |
download | apache2-c64996059289dce8008a02b9b696f8a3cd89091c.tar.xz apache2-c64996059289dce8008a02b9b696f8a3cd89091c.zip |
mod_example_hooks, mod_optional_fn_export: debug messages at APLOG_DEBUG level
Switch from APLOG_NOTICE/ERR to APLOG_DEBUG to avoid filling the logs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1893477 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | modules/examples/mod_example_hooks.c | 2 | ||||
-rw-r--r-- | modules/test/mod_optional_fn_export.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/examples/mod_example_hooks.c b/modules/examples/mod_example_hooks.c index cf139db36a..ff458df99f 100644 --- a/modules/examples/mod_example_hooks.c +++ b/modules/examples/mod_example_hooks.c @@ -492,7 +492,7 @@ static void trace_nocontext(apr_pool_t *p, const char *file, int line, */ #ifdef EXAMPLE_LOG_EACH - ap_log_perror(file, line, APLOG_MODULE_INDEX, APLOG_NOTICE, 0, p, + ap_log_perror(file, line, APLOG_MODULE_INDEX, APLOG_DEBUG, 0, p, APLOGNO(03297) "%s", note); #endif } diff --git a/modules/test/mod_optional_fn_export.c b/modules/test/mod_optional_fn_export.c index 5dccfc9782..36667a93cc 100644 --- a/modules/test/mod_optional_fn_export.c +++ b/modules/test/mod_optional_fn_export.c @@ -25,7 +25,7 @@ static int TestOptionalFn(const char *szStr) { - ap_log_error(APLOG_MARK,APLOG_ERR,OK,NULL, APLOGNO(01871) + ap_log_error(APLOG_MARK,APLOG_DEBUG,OK,NULL, APLOGNO(01871) "Optional function test said: %s",szStr); return OK; |