[
https://issues.apache.org/jira/browse/AVRO-4254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18079323#comment-18079323
]
Kunal Sevkani commented on AVRO-4254:
-------------------------------------
[~rskraba] I had an account already :D
> 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: Ryan Skraba
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.13.0, 1.12.2
>
> Time Spent: 40m
> 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)