File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
tests/aws-cpp-sdk-s3-integration-tests Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 6262#endif
6363
6464#include < aws/core/http/standard/StandardHttpRequest.h>
65+ #include < aws/core/utils/logging/LogLevel.h>
66+ #include < aws/core/utils/logging/DefaultLogSystem.h>
6567
6668
6769using namespace Aws ;
@@ -196,6 +198,11 @@ namespace
196198
197199 void SetUp () override
198200 {
201+ // Enable trace logging
202+ Aws::Utils::Logging::InitializeAWSLogging (
203+ Aws::MakeShared<Aws::Utils::Logging::DefaultLogSystem>(
204+ " test" , Aws::Utils::Logging::LogLevel::Trace));
205+
199206 static std::once_flag flag;
200207 std::call_once (flag, EnsureUniqueBucketNames);
201208
@@ -208,6 +215,7 @@ namespace
208215 config.connectTimeoutMs = 30000 ;
209216 config.requestTimeoutMs = 30000 ;
210217 config.readRateLimiter = Limiter;
218+ config.enableHttpClientTrace = true ;
211219 config.writeRateLimiter = Limiter;
212220 config.executor = Aws::MakeShared<Aws::Utils::Threading::PooledThreadExecutor>(ALLOCATION_TAG, 4 );
213221 config.enableHttpClientTrace = true ;
You can’t perform that action at this time.
0 commit comments