This is an automated email from the ASF dual-hosted git repository.

jackietien pushed a commit to branch rc/2.0.4
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit d4b2b035a16aa9c64bb3b4cb16e224a3fa1a8852
Author: Haonan <[email protected]>
AuthorDate: Thu May 15 11:20:07 2025 +0800

    Remove SessionPool sensitive info (#15506)
    
    (cherry picked from commit 0ad5221611768dbd9841830ee2d24ab76028990f)
---
 .../src/main/java/org/apache/iotdb/session/pool/SessionPool.java     | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git 
a/iotdb-client/session/src/main/java/org/apache/iotdb/session/pool/SessionPool.java
 
b/iotdb-client/session/src/main/java/org/apache/iotdb/session/pool/SessionPool.java
index e7515d60e47..3eefa646546 100644
--- 
a/iotdb-client/session/src/main/java/org/apache/iotdb/session/pool/SessionPool.java
+++ 
b/iotdb-client/session/src/main/java/org/apache/iotdb/session/pool/SessionPool.java
@@ -672,11 +672,10 @@ public class SessionPool implements ISessionPool {
           long timeOut = Math.min(waitToGetSessionTimeoutInMs, 60_000);
           if (System.currentTimeMillis() - start > timeOut) {
             LOGGER.warn(
-                "the SessionPool has wait for {} seconds to get a new 
connection: {} with {}, {}",
+                "the SessionPool has wait for {} seconds to get a new 
connection: {} with {}",
                 (System.currentTimeMillis() - start) / 1000,
                 formattedNodeUrls,
-                user,
-                password);
+                user);
             LOGGER.warn(
                 "current occupied size {}, queue size {}, considered size {} ",
                 occupied.size(),

Reply via email to