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 09:41:25 UTC
[iotdb] branch rel/0.11 updated: change write error log to warn
(#2126)
This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch rel/0.11
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rel/0.11 by this push:
new fc8ae2e change write error log to warn (#2126)
fc8ae2e is described below
commit fc8ae2ed3e84e3bdc6b7d34acde637d10065d0f3
Author: Jialin Qiao <qj...@mails.tsinghua.edu.cn>
AuthorDate: Thu Nov 26 17:41:06 2020 +0800
change write error log to warn (#2126)
---
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());
}