Change sig for daemonize to unsigned
Allow log-levels to be set