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

KAFKA-2927: reduce system test storage footprint #657

Closed

Conversation

granders
Copy link
Contributor

Split kafka logging into two levels - DEBUG and INFO, and do not collect DEBUG by default.

@granders
Copy link
Contributor Author

@benstopford
Copy link
Contributor

nice! LGTM

logs = {
"kafka_operational_logs": {
"path": OPERATIONAL_LOG_DIR,
"kafka_operational_logs_info": {
Copy link
Contributor

Choose a reason for hiding this comment

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

More general duckape thought about how this works -- should we always make these constants in the class? The way we use them now, I think this constant has to be copied into any test which wants to mark a specific log for collection, e.g., in the case of failure where it knows which files will be relevant for debugging. This seems brittle given changes like this. Do we know if the code that marks logs for collection will even fail if there had been tests that marked "kafka_operational_logs" for collection?

@ewencp
Copy link
Contributor

ewencp commented Dec 10, 2015

@granders Love the goal of the patch, just have a few questions re: the implementation.

@asfgit asfgit closed this in 18d7abd Dec 11, 2015
@granders granders deleted the KAFKA-2927-reduce-log-footprint branch January 31, 2016 23:52
AnGg98 pushed a commit to AnGg98/kafka that referenced this pull request Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants