resetlogging
resetlogging(NULL);
timer_setTimer(nxttime, resetlogging, narg);
static void resetlogging(void *);