Skip to content

clean up the dormant PII logs#312

Merged
Karthikeyannhs merged 3 commits intomainfrom
fix/remove_pii_logs
Aug 28, 2025
Merged

clean up the dormant PII logs#312
Karthikeyannhs merged 3 commits intomainfrom
fix/remove_pii_logs

Conversation

@Karthikeyannhs
Copy link
Copy Markdown
Contributor

@Karthikeyannhs Karthikeyannhs commented Aug 27, 2025

Description

Context

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

Copy link
Copy Markdown
Contributor

@ayeshalshukri1-nhs ayeshalshukri1-nhs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also found a few other logger instances. Do these produce potential PII ??

logger.info("person_table %r", table, extra={"table": table})

logger.exception("Unexpected Exception", exc_info=e)

@Karthikeyannhs
Copy link
Copy Markdown
Contributor Author

I also found a few other logger instances. Do these produce potential PII ??

logger.info("person_table %r", table, extra={"table": table})

logger.exception("Unexpected Exception", exc_info=e)

No , First one just logs the table name
second one just logs the stacktrace.

@ayeshalshukri1-nhs ayeshalshukri1-nhs self-requested a review August 27, 2025 16:11
Copy link
Copy Markdown
Contributor

@ayeshalshukri1-nhs ayeshalshukri1-nhs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM !! Answered comments, approved.

@Karthikeyannhs Karthikeyannhs merged commit 2760489 into main Aug 28, 2025
22 checks passed
@Karthikeyannhs Karthikeyannhs deleted the fix/remove_pii_logs branch September 4, 2025 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants