MCPcopy Create free account
hub / github.com/acl-dev/acl / trigger_server_open_log

Function trigger_server_open_log

lib_acl/src/master/template/acl_trigger_server.c:387–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385}
386
387static void trigger_server_open_log(void)
388{
389 /* first, close the master's log */
390 master_log_close();
391
392 /* second, open the service's log */
393 if (acl_master_log_enabled()) {
394 acl_msg_open(acl_var_trigger_log_file, acl_var_trigger_procname);
395 }
396
397 if (acl_var_trigger_log_debug && *acl_var_trigger_log_debug
398 && acl_var_trigger_max_debug >= 100) {
399
400 acl_debug_init2(acl_var_trigger_log_debug,
401 acl_var_trigger_max_debug);
402 }
403}
404
405static void usage(int argc, char *argv[])
406{

Callers 1

acl_trigger_server_mainFunction · 0.85

Calls 4

master_log_closeFunction · 0.85
acl_master_log_enabledFunction · 0.85
acl_msg_openFunction · 0.85
acl_debug_init2Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…