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

log topic-partition and key in KeyDatabase/Keys logging when deleting a key #670

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

Z1kkurat
Copy link
Contributor

Currently, when deleting a key, the log message doesn't give much information, looking like this:

2025-01-21 11:45:14,543 INFO io-compute-0 c.e.k.f.k.KeyDatabase deleted key

This PR adds more info to the log message, prefixing it with topic-partition and key info, so it'll look like this:

2025-01-21 11:45:14,543 INFO io-compute-0 c.e.k.f.k.KeyDatabase [topic-1 key1] deleted key

@Z1kkurat Z1kkurat merged commit d3dfc30 into master Jan 21, 2025
3 checks passed
@Z1kkurat Z1kkurat deleted the key-database-log-info branch January 21, 2025 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants