1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

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
This commit is contained in:
Yann Ylavic
2021-09-20 17:51:21 +00:00
parent 59a5a8d3e5
commit c649960592
2 changed files with 2 additions and 2 deletions

View 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
}

View 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;