s/daemonize/daemon/ to match options between the config file and the opts hash
fix a bug with disabling logging when daemoonizing without a log file