Throw in some logging.