[ 
https://issues.apache.org/jira/browse/AVRO-3771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17730129#comment-17730129
 ] 

ASF subversion and git services commented on AVRO-3771:
-------------------------------------------------------

Commit 2d4c3cda8ac06dd2cc1f926dc0bfe60a1ad7c838 in avro's branch 
refs/heads/branch-1.11 from theo
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=2d4c3cda8 ]

AVRO-3771: [Rust] Logging flood during validate method (#2272)

* fix: lower log level for validation errors

* AVRO-3771: [Rust] Log the validation failure as error if validating against a 
single schema

If validating against several schemata then it is expected that it
should fail for all but one most of the time, so log it as debug

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

---------

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Co-authored-by: Fedor Telnov <[email protected]>
Co-authored-by: Martin Tzvetanov Grigorov <[email protected]>
(cherry picked from commit 7bf4f5e392b383df456cf3f711885756a77aefbe)


> [Rust] Logging flood during validate method
> -------------------------------------------
>
>                 Key: AVRO-3771
>                 URL: https://issues.apache.org/jira/browse/AVRO-3771
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: rust
>            Reporter: Fedor Telnov
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Validate with schemata method spams error log messages on every non-matching 
> schema in the schemata.
> I think we must lower from error-level to debug or even trace. I think debug 
> level is the best, as such info could easily be used to debug things, but in 
> production run such messages are simply mess.
> I attach simple fix, hopefully it would get to codebase soon!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to