Skip to content

Commit

Permalink
HADOOP-18999. Debug level logging within AWS V2 SDK httpclient
Browse files Browse the repository at this point in the history
and trace level switches sdk classes to tracing

Change-Id: I192a186c4597f1fad7ae4ca8741795049b795ea2
  • Loading branch information
steveloughran committed Dec 4, 2023
1 parent 2f2bc53 commit 815009e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,11 @@ public S3Client createS3Client(
@VisibleForTesting
public static boolean maybeTurnOnSdkLogging() {

Check failure on line 167 in hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/DefaultS3ClientFactory.java

View check run for this annotation

ASF Cloudbees Jenkins ci-hadoop / Apache Yetus

hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/DefaultS3ClientFactory.java#L167

javadoc: warning: no @return
if (LOG_SDK.isDebugEnabled()) {
LOG_SDK.debug("Enabling SDK logging at {} level", SDK_LOG_LEVEL);
LOG_SDK.debug("Enabling SDK logging at {}", SDK_LOG_LEVEL);
return enableLogging(SDK_LOG_LEVEL, SDK_LOGS);
} else if (LOG_SDK.isTraceEnabled()) {
LOG_SDK.debug("Enabling SDK logging at {}", LogControl.LogLevel.TRACE);
return enableLogging(LogControl.LogLevel.TRACE, SDK_LOGS);
}
return false;
}
Expand Down

0 comments on commit 815009e

Please sign in to comment.