You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2021/12/09 08:20:33 UTC

[iotdb] branch rel/0.12 updated: fix logback bug (#4544)

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

qiaojialin pushed a commit to branch rel/0.12
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/rel/0.12 by this push:
     new d9103da  fix logback bug (#4544)
d9103da is described below

commit d9103da31396c1b30300f4999f36101693039a77
Author: Jackie Tien <Ja...@foxmail.com>
AuthorDate: Thu Dec 9 16:19:49 2021 +0800

    fix logback bug (#4544)
---
 server/src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java b/server/src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java
index feefe1f..83cf17a 100644
--- a/server/src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java
+++ b/server/src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java
@@ -247,12 +247,12 @@ public class TSServiceImpl implements TSIService.Iface {
       tsStatus = RpcUtils.getStatus(TSStatusCode.SUCCESS_STATUS, "Login successfully");
 
       sessionId = sessionManager.requestSessionId(req.getUsername(), req.getZoneId());
-      AUDIT_LOGGER.info("User {} opens Session-{}", req.getUsername(), sessionId);
       LOGGER.info(
-          "{}: Login status: {}. User : {}",
+          "{}: Login status: {}. User : {}, opens Session-{}",
           IoTDBConstant.GLOBAL_DB_NAME,
           tsStatus.message,
-          req.getUsername());
+          req.getUsername(),
+          sessionId);
     } else {
       tsStatus =
           RpcUtils.getStatus(