move log switcher funcs to serv_syscmds.c