Skip to content

refactor: Redact PII from logging, but ensure sufficiently-useful information...

stephen requested to merge log-less-pii-in-prod into main

refactor: Redact PII from logging, but ensure sufficiently-useful information is logged in its stead

As per #114, PII should not be logged in production, full stop. It should be possible to log information sufficient for folks looking through logs for particular errors or failures without outright exposing PII to the logs.

This commit:

  • Improves the way civicrm.repository tells which environment it's in
  • Logs less PII in production environments
  • Adds additional useful logging information in all environments

Closes #114.

Edited by stephen

Merge request reports