Skip to content

Conversation

@jzakaryan
Copy link
Collaborator

The status in ServerComponentHealth object can be a very large string containing diagnostics information (per topic-partition offsets etc). Furthermore, in some use cases, ServerComponentHealth objects retrieved from each host are being processed and for each one the status is printed. There's no need to print it in the logs. The response is returned to the client anyway.
The change in this pull request removes the code that prints status of ServerComponentHealth. It will reduce the amount of clutter in the logs.

Important: DO NOT REPORT SECURITY ISSUES DIRECTLY ON GITHUB.
For reporting security issues and contributing security fixes,
please, email security@linkedin.com instead, as described in
the contribution guidelines.

Please, take a minute to review the contribution guidelines at:
https://github.com/linkedin/Brooklin/blob/master/CONTRIBUTING.md

} else {
String message = "Received REST response from the host: " + dmsUri + " with status: " + response.getStatus();
LOG.info(message);
LOG.info("Received REST response from the host: " + dmsUri);
Copy link
Collaborator

@vmaheshw vmaheshw Nov 10, 2020

Choose a reason for hiding this comment

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

Can you please add another log in debug mode printing the response, in case we need to enable and verify it?

@vmaheshw
Copy link
Collaborator

vmaheshw commented Feb 1, 2022

@jzakaryan is this PR still relevant?

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.

3 participants