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

Reduce Iceberg metrics reporting verbosity in logs #15495

Conversation

losipiuk
Copy link
Member

Iceberg's new feature, metrics reporting, by default logs quite long log lines at INFO level for every table scanned in the query. This is quite verbose, potentially affecting log rotation on production installations and affecting Trino CI Github Actions logs.

Move the metrics reporting to DEBUG log level, at least for table instances instantiated directly in Trino code.

Hopefully fixes #15492

Iceberg's new feature, metrics reporting, by default logs quite long log
lines at INFO level for every table scanned in the query. This is quite
verbose, potentially affecting log rotation on production installations
and affecting Trino CI Github Actions logs.

Move the metrics reporting to DEBUG log level, at least for table
instances instantiated directly in Trino code.
@cla-bot cla-bot bot added the cla-signed label Dec 21, 2022
@losipiuk
Copy link
Member Author

Replaces #15493

Copy link
Member

@findepi findepi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

already approved at #15493

@findepi
Copy link
Member

findepi commented Dec 21, 2022

cc @nastra @Fokko

Copy link
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Also noticed that the logs were quite big when bumping Iceberg, thanks!

@losipiuk losipiuk merged commit a681efb into trinodb:master Dec 22, 2022
@github-actions github-actions bot added this to the 404 milestone Dec 22, 2022
@colebow colebow added the no-release-notes This pull request does not require release notes entry label Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed no-release-notes This pull request does not require release notes entry
Development

Successfully merging this pull request may close these issues.

Iceberg "Received metrics report" flooding logs
7 participants