Add a bit more logging.