steveloughran commented on code in PR #7479:
URL: https://github.com/apache/hadoop/pull/7479#discussion_r2025056763


##########
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:
   oh, it's noisy. It's the ultimate way to see what is happening in the SDK. 
I'd been meaning to do this for a while, but trying to see what the 2.30 SDK 
was up to motivated me.
   
   It is very much emergency use only -those situations where you turn on all 
of the http traffic logging. But it is now avaiable for those emergencies



-- 
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

Reply via email to