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

Function ap_get_conn_server_module_loglevel

server/util_debug.c:172–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170#endif
171
172AP_DECLARE(int) ap_get_conn_server_module_loglevel(const conn_rec *c,
173 const server_rec *s,
174 int module_index)
175{
176 const struct ap_logconf *l = (c->log && c->log != &c->base_server->log) ?
177 c->log : &s->log;
178 if (module_index < 0 || l->module_levels == NULL ||
179 l->module_levels[module_index] < 0)
180 {
181 return l->level;
182 }
183
184 return l->module_levels[module_index];
185}
186
187#if defined(ap_get_request_module_loglevel)
188#undef ap_get_request_module_loglevel

Callers 1

log_error_coreFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected