Skip to content

Commit 5443c29

Browse files
committed
(Debug) Add debug logs for OauthTest
1 parent 335a7d1 commit 5443c29

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/oauth2/Oauth2Test.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ static Result testCreateProducer(const std::string& privateKey) {
8181
ClientConfiguration conf;
8282
auto params = gCommonParams;
8383
params["private_key"] = privateKey;
84+
conf.setLogger(new ConsoleLoggerFactory(Logger::LEVEL_DEBUG));
8485
conf.setAuth(AuthOauth2::create(params));
8586
Client client{"pulsar://localhost:6650", conf};
8687
Producer producer;

0 commit comments

Comments
 (0)