Temp: better logging.