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

Function open_service_log

lib_fiber/cpp/src/fiber_server.cpp:898–916  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

896}
897
898static void open_service_log()
899{
900#if !defined(_WIN32) && !defined(_WIN64)
901 /* first, close the master's log */
902 master_log_close();
903#endif
904
905 /* second, open the service's log */
906 if (acl_master_log_enabled()) {
907 acl_msg_open(acl_var_fiber_log_file, acl_var_fiber_procname);
908 }
909
910 if (acl_var_fiber_log_debug && *acl_var_fiber_log_debug
911 && acl_var_fiber_max_debug >= 100) {
912
913 acl_debug_init2(acl_var_fiber_log_debug,
914 acl_var_fiber_max_debug);
915 }
916}
917
918static void server_init(const char *procname)
919{

Callers 1

acl_fiber_server_mainFunction · 0.70

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…