Mock out logging.