switch_to_logfile
if (switch_to_logfile(argp->as_str))
if (switch_to_logfile(logfile) != 0)
extern int switch_to_logfile(char *);