more useful logging for debugging