moved log file from daemon to log