You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by do...@apache.org on 2019/02/27 03:32:07 UTC

[incubator-iotdb] branch fix_jira_26 updated: change debug level to info level in jdbc service

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

dope pushed a commit to branch fix_jira_26
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git


The following commit(s) were added to refs/heads/fix_jira_26 by this push:
     new b47d48e  change debug level to info level in jdbc service
b47d48e is described below

commit b47d48e2c5e0e34f322a98e63ab6e86f888145eb
Author: MyXOF <xu...@163.com>
AuthorDate: Wed Feb 27 11:31:55 2019 +0800

    change debug level to info level in jdbc service
---
 .../main/java/org/apache/iotdb/db/service/JDBCService.java   | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/iotdb/src/main/java/org/apache/iotdb/db/service/JDBCService.java b/iotdb/src/main/java/org/apache/iotdb/db/service/JDBCService.java
index f75b62f..cb28312 100644
--- a/iotdb/src/main/java/org/apache/iotdb/db/service/JDBCService.java
+++ b/iotdb/src/main/java/org/apache/iotdb/db/service/JDBCService.java
@@ -70,14 +70,14 @@ public class JDBCService implements JDBCServiceMBean, IService {
   public String getJDBCServiceStatus() {
     // TODO debug log, will be deleted in production env
     if(startLatch == null) {
-      LOGGER.debug("Start latch is null when getting status");
+      LOGGER.info("Start latch is null when getting status");
     } else {
-      LOGGER.debug("Start latch is {} when getting status", startLatch.getCount());
+      LOGGER.info("Start latch is {} when getting status", startLatch.getCount());
     }
     if(stopLatch == null) {
-      LOGGER.debug("Stop latch is null when getting status");
+      LOGGER.info("Stop latch is null when getting status");
     } else {
-      LOGGER.debug("Stop latch is {} when getting status", stopLatch.getCount());
+      LOGGER.info("Stop latch is {} when getting status", stopLatch.getCount());
     }	
     // debug log, will be deleted in production env
 
@@ -218,9 +218,9 @@ public class JDBCService implements JDBCServiceMBean, IService {
         close();
         // TODO debug log, will be deleted in production env
         if(threadStopLatch == null) {
-        	LOGGER.debug("Stop Count Down latch is null");
+          LOGGER.info("Stop Count Down latch is null");
         } else {
-        	LOGGER.debug("Stop Count Down latch is {}", threadStopLatch.getCount());
+          LOGGER.info("Stop Count Down latch is {}", threadStopLatch.getCount());
         }
         // debug log, will be deleted in production env