Changeset 72d48b6
- Timestamp:
- 2016-05-01T03:27:28Z (9 years ago)
- Branches:
- master
- Children:
- 4fe91a1
- Parents:
- 720f7a9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
unix.c
r720f7a9 r72d48b6 80 80 } 81 81 82 if (global.conf->runmode == RUNMODE_INETD) { 83 log_link(LOGLVL_ERROR, LOGOUTPUT_IRC); 84 log_link(LOGLVL_WARNING, LOGOUTPUT_IRC); 85 } else { 86 log_link(LOGLVL_ERROR, LOGOUTPUT_CONSOLE); 87 log_link(LOGLVL_WARNING, LOGOUTPUT_CONSOLE); 88 } 89 82 90 b_main_init(); 83 91 … … 111 119 112 120 if (global.conf->runmode == RUNMODE_INETD) { 113 log_link(LOGLVL_ERROR, LOGOUTPUT_IRC);114 log_link(LOGLVL_WARNING, LOGOUTPUT_IRC);115 116 121 i = bitlbee_inetd_init(); 117 122 log_message(LOGLVL_INFO, "%s %s starting in inetd mode.", PACKAGE, BITLBEE_VERSION); 118 123 119 124 } else if (global.conf->runmode == RUNMODE_DAEMON) { 120 log_link(LOGLVL_ERROR, LOGOUTPUT_CONSOLE);121 log_link(LOGLVL_WARNING, LOGOUTPUT_CONSOLE);122 123 125 i = bitlbee_daemon_init(); 124 126 log_message(LOGLVL_INFO, "%s %s starting in daemon mode.", PACKAGE, BITLBEE_VERSION); 125 127 } else if (global.conf->runmode == RUNMODE_FORKDAEMON) { 126 log_link(LOGLVL_ERROR, LOGOUTPUT_CONSOLE);127 log_link(LOGLVL_WARNING, LOGOUTPUT_CONSOLE);128 129 128 /* In case the operator requests a restart, we need this. */ 130 129 old_cwd = g_malloc(256);
Note: See TracChangeset
for help on using the changeset viewer.