switch(*parv[1])
{
case 'D': /* Debug */
- sendto_realops_snomask(SNO_DEBUG, L_ALL, "authd debug: %s", parv[2]);
+ sendto_realops_snomask(SNO_DEBUG, L_NETWIDE, "authd debug: %s", parv[2]);
idebug("authd: %s", parv[2]);
break;
case 'I': /* Info */
- sendto_realops_snomask(SNO_GENERAL, L_ALL, "authd info: %s", parv[2]);
+ sendto_realops_snomask(SNO_DEBUG, L_NETWIDE, "authd info: %s", parv[2]);
inotice("authd: %s", parv[2]);
break;
case 'W': /* Warning */
static void
restart_authd_cb(rb_helper * helper)
{
- iwarn("authd: restart_authd_cb called, authd died?");
- sendto_realops_snomask(SNO_GENERAL, L_ALL, "authd: restart_authd_cb called, authd died?");
+ iwarn("authd helper died - attempting to restart");
+ sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, "authdd helper died - attempting to restart");
if(helper != NULL)
{
if(bandb_helper == NULL)
{
ilog(L_MAIN, "Unable to start bandb: %s", strerror(errno));
- sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, "Unable to start bandb: %s",
+ sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, "Unable to start bandb helper: %s",
strerror(errno));
return 1;
}
+ ilog(L_MAIN, "bandb helper started");
+ sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, "bandb helper started");
rb_helper_run(bandb_helper);
return 0;
}
static void
bandb_restart_cb(rb_helper *helper)
{
- ilog(L_MAIN, "bandb - bandb_restart_cb called, bandb helper died?");
+ ilog(L_MAIN, "bandb helper died - attempting to restart");
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
- "bandb - bandb_restart_cb called, bandb helper died?");
+ "bandb helper died - attempting to restart");
if(helper != NULL)
{
rb_helper_close(helper);
ssl_do_pipe(P2, ctl);
}
+ ilog(L_MAIN, "ssld helper started");
+ sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, "ssld helper started");
return started;
}
ws_do_pipe(P2, ctl);
}
+ ilog(L_MAIN, "wsockd helper started");
+ sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, "wsockd helper started");
return started;
}