Skip to content

Conversation

@adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

MiniOzoneCluster has a setting to enable trace level logging, but it is never set to true. Setting trace level logging globally is also useless, would result in too verbose logs. Setting level for specific loggers as needed is more helpful.

This PR proposes to remove enableTrace and related code.

Config key ozone.trace.enabled can also be removed, since it is not used elsewhere. (The description says it is useful for debugging the REST protocol. Which was removed in favor of S3 Gateway years ago: HDDS-738.)

https://issues.apache.org/jira/browse/HDDS-10287

How was this patch tested?

CI:
https://github.com/adoroszlai/ozone/actions/runs/7768321799

@adoroszlai adoroszlai added the code-cleanup Changes that aim to make code better, without changing functionality. label Feb 3, 2024
@adoroszlai adoroszlai self-assigned this Feb 3, 2024
@adoroszlai adoroszlai requested a review from fapifta February 3, 2024 18:19
Copy link
Contributor

@fapifta fapifta left a comment

Choose a reason for hiding this comment

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

Thank you @adoroszlai for this PR. +1

@fapifta fapifta merged commit 68c6f71 into apache:master Feb 5, 2024
@adoroszlai
Copy link
Contributor Author

Thanks @fapifta for the reviewing and merging this.

@adoroszlai adoroszlai deleted the HDDS-10287 branch February 5, 2024 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code-cleanup Changes that aim to make code better, without changing functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants