Skip to content

Require explicit opt-in for value-bearing Java SQL logs - #151

Merged
philipgreat merged 4 commits into
mainfrom
fix/safe-custom-log-sinks-90-stacked
Sep 23, 2026
Merged

philipgreat merged 4 commits into
mainfrom
fix/safe-custom-log-sinks-90-stacked

Conversation

@philipgreat

@philipgreat philipgreat commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Follow-up for #90, now based on main after #150 merged. Custom RuntimeLogSink and UserContext implementations default to parameterized SQL only. The built-in diagnostic sink remains explicit; optional LogManager requests sensitive metadata only for TEAQL_SQL_LOG=_full_with_payload. File-log filtering uses parameterized SQL, and safe human/JSON formatters omit value-bearing fields, including partial metadata that has parameters but no rendered SQL.

Validation: local JDK 21 focused privacy/SQLite tests pass; exact-head Build/Test, Example Gate, and PostgreSQL/MySQL CI are required before merge. Published-package replay is a post-release gate: the changed artifact cannot be replayed as a published package before it is merged and released. Keep #90 open until that replay and the full logging contract are verified.

@philipgreat
philipgreat changed the base branch from fix/jackson-managed-131 to main September 23, 2026 03:59
@philipgreat
philipgreat marked this pull request as ready for review September 23, 2026 04:05
@philipgreat
philipgreat merged commit ba61072 into main Sep 23, 2026
3 checks passed
@philipgreat
philipgreat deleted the fix/safe-custom-log-sinks-90-stacked branch November 23, 2026 12:15
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.

1 participant