Preserve observability while reducing unnecessary personal information in prompt and response logs.
Select log fields by purpose
Request ID, duration and model version may be enough for diagnostics. Separately justify storing full prompts or documents.
Test redaction and access
Test email- and phone-like patterns using synthetic data. Review log access, retention and export permissions regularly.