Skip to content

Commit d4b2b03

Browse files
HTHouJackieTien97
authored andcommitted
Remove SessionPool sensitive info (#15506)
(cherry picked from commit 0ad5221)
1 parent 75aa36a commit d4b2b03

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • iotdb-client/session/src/main/java/org/apache/iotdb/session/pool

iotdb-client/session/src/main/java/org/apache/iotdb/session/pool/SessionPool.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -672,11 +672,10 @@ private ISession getSession() throws IoTDBConnectionException {
672672
long timeOut = Math.min(waitToGetSessionTimeoutInMs, 60_000);
673673
if (System.currentTimeMillis() - start > timeOut) {
674674
LOGGER.warn(
675-
"the SessionPool has wait for {} seconds to get a new connection: {} with {}, {}",
675+
"the SessionPool has wait for {} seconds to get a new connection: {} with {}",
676676
(System.currentTimeMillis() - start) / 1000,
677677
formattedNodeUrls,
678-
user,
679-
password);
678+
user);
680679
LOGGER.warn(
681680
"current occupied size {}, queue size {}, considered size {} ",
682681
occupied.size(),

0 commit comments

Comments
 (0)