Added proper python logging to server daemon and daemon_common.