Jesse Anderson created KAFKA-4374: ------------------------------------- Summary: Improve Response Errors Logging Key: KAFKA-4374 URL: https://issues.apache.org/jira/browse/KAFKA-4374 Project: Kafka Issue Type: Bug Components: clients Affects Versions: 0.10.0.1 Reporter: Jesse Anderson Priority: Minor
When NetworkClient.java gets a response error, it runs: {code} if (response.errors().size() > 0) { log.warn("Error while fetching metadata with correlation id {} : {}", header.correlationId(), response.errors()); } {code} Logging that at warn level and saying there is an error, is confusing to new people. They don't see it was a warn and not error level. They just see that it says "Error while...". Maybe it should be something like "The metadata response from the cluster reported a recoverable issue..." -- This message was sent by Atlassian JIRA (v6.3.4#6332)