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

Include contextual information in logs #5

Open
robobario opened this issue Jun 20, 2023 · 0 comments
Open

Include contextual information in logs #5

robobario opened this issue Jun 20, 2023 · 0 comments

Comments

@robobario
Copy link

This requires some upstream work in Kroxylicious but it would be nice to get more context into any warning/debug logs like:

  1. identifiers for the consumer/producer connection (I guess logging ips and things could be a GDPR issue?)
  2. identifiers for the virtual cluster/target cluster

Maybe the KrpcFilterContext could provide these details like context.metadata().virtualClusterName(), or it could be more deeply integrated with slf4j to somehow offer up a logger that automatically includes this context without each Filter having to craft the log messages.

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

No branches or pull requests

1 participant