HDDS-15954. Document ozone daemonlog command - #10882
Open
F64116045 wants to merge 2 commits into
Open
Conversation
F64116045
marked this pull request as ready for review
July 28, 2026 01:50
sreejasahithi
left a comment
Contributor
There was a problem hiding this comment.
Thanks @F64116045 for updating the doc.
Comment on lines
+105
to
+106
| The `<host:port>` value is the daemon HTTP address. For example, the default HTTP ports are `9874` for Ozone Manager, `9876` for Storage Container Manager, `9882` for Datanode, `9878` for S3 Gateway, and `9888` for Recon. | ||
|
|
Contributor
There was a problem hiding this comment.
Here it states 9878 for S3 Gateway, but daemonlog talks to the /logLevel servlet. On S3G, that servlet is on the web admin server, not the S3 API port.
The log-level endpoint is on the web admin port 19878 (S3GatewayWebAdminServer), config key ozone.s3g.webadmin.http-address.
Author
There was a problem hiding this comment.
Thanks for catching this. I updated the S3 Gateway entry to use the web admin HTTP address (ozone.s3g.webadmin.http-address, default 19878) instead of the S3 API port (9878).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
This pull request documents the existing
ozone daemonlogcommand in the Ozone logging tools documentation. It explains how to get and set runtime log levels for Ozone daemon loggers through their HTTP endpoints, and adds examples for checking, increasing, and resetting a logger level.It also adds
daemonlogto the tools overview page so users can discover the command from the CLI tools list.What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-15954
How was this patch tested?