From: Yann Ylavic Date: Mon, 20 Sep 2021 17:51:21 +0000 (+0000) Subject: mod_example_hooks, mod_optional_fn_export: debug messages at APLOG_DEBUG level X-Git-Tag: 2.5.0-alpha2-ci-test-only~799 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c64996059289dce8008a02b9b696f8a3cd89091c;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/examples/mod_example_hooks.c b/modules/examples/mod_example_hooks.c index cf139db36af..ff458df99f4 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 5dccfc97822..36667a93cce 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;