logging.server: add support for changing the logging root temporarily.