Add support for switching the daemon logger.