Fix Daemon - hasLogger() instead of logger.