Skip to content

Remove postcode from court allocation info log#2159

Merged
linusnorton merged 1 commit into
masterfrom
remove-postcode-info-log
Jul 10, 2026
Merged

Remove postcode from court allocation info log#2159
linusnorton merged 1 commit into
masterfrom
remove-postcode-info-log

Conversation

@linusnorton

@linusnorton linusnorton commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

What

Removes the INFO-level log line in PostCodeCourtService.getCourtManagementLocation that emitted the property postcode on every successful court allocation:

log.info("Court management location allocated for postcode {}", postCode);

The info-level log in getCourtManagementLocation emitted the property
postcode on every successful allocation. Property postcodes are
potentially personal data under UK GDPR, so drop the line to avoid
logging customer information at production (INFO) level.
@github-actions

Copy link
Copy Markdown

CCD diff summary

👉 Full report: https://github.com/hmcts/pcs-api/actions/runs/29097449094?check_suite_focus=true

No change

@linusnorton linusnorton merged commit 78ef86a into master Jul 10, 2026
13 checks passed
@linusnorton linusnorton deleted the remove-postcode-info-log branch July 10, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants