ableegoldman opened a new pull request #11823:
URL: https://github.com/apache/kafka/pull/11823


   Pretty much any time we have an integration test failure that's flaky or 
only exposed when running on Jenkins through the PR builds, it's impossible to 
debug if it cannot be reproduced locally as the logs attached to the test 
results have truncated the entire useful part of the logs. This is due to the 
logs being flooded at the beginning of the test when the Kafka cluster is 
coming up, eating up all of the allotted characters before we even get to the 
actual Streams test. Setting ` log4j.logger.kafka` to `ERROR` greatly improves 
the situation and cuts down on most of the excessive logging in my local runs. 
To improve things even more and have some hope of getting the part of the logs 
we actually need, I also set the loggers for all of the Config objects to 
ERROR, as these print out the value of every single config (of which there are 
a lot) and are not useful as we can easily figure out what the configs were if 
necessary by just inspecting the test locally.
   
   Hopefully this will help us debug and then fix some of the flaky tests 
within Streams that show up on PR builds


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to