ahmarsuhail commented on code in PR #7479: URL: https://github.com/apache/hadoop/pull/7479#discussion_r2023091772
########## hadoop-tools/hadoop-aws/src/site/markdown/tools/hadoop-aws/troubleshooting_s3a.md: ########## @@ -1359,6 +1359,48 @@ execchain.MainClientExec (MainClientExec.java:execute(284)) - Connection can be ``` + +To log the output of the AWS SDK metrics, set the log +`org.apache.hadoop.fs.s3a.DefaultS3ClientFactory` to `TRACE`. +This will then turn on logging of the internal SDK metrics.4 + +These will actually be logged at INFO in the log +``` +software.amazon.awssdk.metrics.LoggingMetricPublisher +``` + +```text +INFO metrics.LoggingMetricPublisher (LoggerAdapter.java:info(165)) - Metrics published: Review Comment: qq: is this logged on every request, or at some fixed interval? -- 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: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org