Add some more logging.