Externalize logging.