Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Jun 7, 2023

Conversation

ftelnov
Copy link
Contributor

@ftelnov ftelnov commented Jun 5, 2023

Lowers logging level for validate with schemata method to debug level to avoid noisy logs.

Associated issue in JIRA: https://issues.apache.org/jira/browse/AVRO-3771

@github-actions github-actions bot added the Rust label Jun 5, 2023
@martin-g martin-g changed the title [Rust] Logging flood during validate method AVRO-3771: [Rust] Logging flood during validate method Jun 7, 2023
…gainst 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 <mgrigorov@apache.org>
@martin-g martin-g merged commit 7bf4f5e into apache:master Jun 7, 2023
martin-g pushed a commit that referenced this pull request Jun 7, 2023
* 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 <mgrigorov@apache.org>

---------

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Co-authored-by: Fedor Telnov <f.telnov@picodata.io>
Co-authored-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
(cherry picked from commit 7bf4f5e)
@martin-g
Copy link
Member

martin-g commented Jun 7, 2023

Thank you, @ftelnov !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants