configurable log outputs, daemonize
Merge branch 'daemonize'