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:
@@ -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
|
||||
}
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user