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

Make GetChanges logging only at the DEBUG level #294

Merged
merged 2 commits into from
Nov 8, 2023

Conversation

vaibhav-yb
Copy link
Collaborator

@vaibhav-yb vaibhav-yb commented Nov 7, 2023

Problem

The log line "Requesting changes from" is logged every time the connector makes an RPC call to get the changes from service. This, however, results in too many logs in the connector over a period of time and can be a bottleneck in terms of log size and logging costs.

Solution

This PR changes the log level to DEBUG. If run without DEBUG logs, we will only log the line at an interval of log.get.changes.interval.ms (default: 5601000) which will work as an indicator that the task has some activity going on.

@vaibhav-yb vaibhav-yb added the enhancement New feature or request label Nov 7, 2023
@vaibhav-yb vaibhav-yb self-assigned this Nov 7, 2023
@vaibhav-yb vaibhav-yb changed the title Make GetChanges logging configurable Make GetChanges logging only at the DEBUG level Nov 8, 2023
@vaibhav-yb vaibhav-yb merged commit c80f74a into yugabyte:main Nov 8, 2023
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants