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/11/26 03:10:00 UTC
[iotdb] 01/01: change write error log to warn
This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch change_write_error_to_warn
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 41f2d27494e9bcc8a8240c9ee8565f3b71118c43
Author: qiaojialin <64...@qq.com>
AuthorDate: Thu Nov 26 11:09:35 2020 +0800
change write error log to warn
---
server/src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java | 4 ++--
1 file changed, 2 insertions(+), 2 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 0d2ab43..3f0fa48 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
@@ -1751,10 +1751,10 @@ public class TSServiceImpl implements TSIService.Iface, ServerContext {
} catch (BatchInsertionException e) {
return RpcUtils.getStatus(Arrays.asList(e.getFailingStatus()));
} catch (QueryProcessException e) {
- logger.error("meet error while processing non-query. ", e);
+ logger.warn("meet error while processing non-query. ", e);
return RpcUtils.getStatus(e.getErrorCode(), e.getMessage());
} catch (Exception e) {
- logger.error(SERVER_INTERNAL_ERROR, IoTDBConstant.GLOBAL_DB_NAME, e);
+ logger.warn(SERVER_INTERNAL_ERROR, IoTDBConstant.GLOBAL_DB_NAME, e);
return RpcUtils.getStatus(TSStatusCode.INTERNAL_SERVER_ERROR, e.getMessage());
}