Logging & consent fixes.