remove logfile arg from daemon functions. use logger