[
https://issues.apache.org/jira/browse/AVRO-4254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ryan Skraba reassigned AVRO-4254:
---------------------------------
Assignee: Kunal Sevkani
> Avoid logging datum values in UnresolvedUnionException
> ------------------------------------------------------
>
> Key: AVRO-4254
> URL: https://issues.apache.org/jira/browse/AVRO-4254
> Project: Apache Avro
> Issue Type: Improvement
> Components: java
> Reporter: Kunal Sevkani
> Assignee: Kunal Sevkani
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.13.0, 1.12.2
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> From PR:
> UnresolvedUnionException previously included the full toString() of the
> unresolved datum in its exception message. When this exception propagates to
> generic error handlers or gets logged, the datum value — which may contain
> sensitive user data — gets written to application logs.
> Replace the datum's toString() with its class name in the exception message.
> The actual datum object remains accessible via getUnresolvedDatum() for
> callers that need programmatic access.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)