Make daemonize logdir a module variable