MCPcopy Create free account
hub / github.com/apache/httpd / ap_set_module_loglevel

Function ap_set_module_loglevel

server/config.c:1570–1584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1568}
1569
1570AP_DECLARE(void) ap_set_module_loglevel(apr_pool_t *pool, struct ap_logconf *l,
1571 int index, int level)
1572{
1573 if (!l->module_levels) {
1574 l->module_levels = apr_palloc(pool, conf_vector_length);
1575 if (l->level == APLOG_UNSET) {
1576 ap_reset_module_loglevels(l, APLOG_UNSET);
1577 }
1578 else {
1579 ap_reset_module_loglevels(l, APLOG_NO_MODULE);
1580 }
1581 }
1582
1583 l->module_levels[index] = level;
1584}
1585
1586/*****************************************************************
1587 *

Callers 1

set_loglevelFunction · 0.85

Calls 1

Tested by

no test coverage detected