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 2020/05/07 06:12:27 UTC
[incubator-iotdb] 01/03: change closeOperation logger from info to
debug
This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
commit 39d5c2c8e2ad0e6f5cb63d5144d44ba50b7638e9
Author: qiaojialin <64...@qq.com>
AuthorDate: Thu May 7 13:33:38 2020 +0800
change closeOperation logger from info to debug
---
server/src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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 f8a36c2..aa58887 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
@@ -231,7 +231,9 @@ public class TSServiceImpl implements TSIService.Iface, ServerContext {
@Override
public TSStatus closeOperation(TSCloseOperationReq req) {
- logger.info("{}: receive close operation", IoTDBConstant.GLOBAL_DB_NAME);
+ if (logger.isDebugEnabled()) {
+ logger.debug("{}: receive close operation", IoTDBConstant.GLOBAL_DB_NAME);
+ }
if (!checkLogin(req.getSessionId())) {
logger.info(INFO_NOT_LOGIN, IoTDBConstant.GLOBAL_DB_NAME);
return RpcUtils.getStatus(TSStatusCode.NOT_LOGIN_ERROR);