Update logging to use a proper logger.