]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mod_example_hooks, mod_optional_fn_export: debug messages at APLOG_DEBUG level
authorYann Ylavic <ylavic@apache.org>
Mon, 20 Sep 2021 17:51:21 +0000 (17:51 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 20 Sep 2021 17:51:21 +0000 (17:51 +0000)
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

modules/examples/mod_example_hooks.c
modules/test/mod_optional_fn_export.c

index cf139db36af45ce2e76bdcdfecbd1eb4f1f6d586..ff458df99f4ae85ccc4b92b9dc87eed96950aa49 100644 (file)
@@ -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
 }
index 5dccfc97822126c8797e185dc135a75ab9cf3149..36667a93cceb102a507c324af8611f5b886f1b98 100644 (file)
@@ -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;