Yet more diagnostic logging.