You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2020/06/17 03:25:26 UTC

[GitHub] [incubator-iotdb] qiaojialin commented on a change in pull request #1373: [IOTDB-771] Add audit log

qiaojialin commented on a change in pull request #1373:
URL: https://github.com/apache/incubator-iotdb/pull/1373#discussion_r441258938



##########
File path: server/src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java
##########
@@ -1061,6 +1061,10 @@ public ServerProperties getProperties() {
   @Override
   public TSExecuteBatchStatementResp insertRecords(TSInsertRecordsReq req) {
     TSExecuteBatchStatementResp resp = new TSExecuteBatchStatementResp();
+    auditLogger

Review comment:
       fixed

##########
File path: server/src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java
##########
@@ -1337,6 +1345,8 @@ public TSExecuteBatchStatementResp createMultiTimeseries(TSCreateMultiTimeseries
       logger.info(INFO_NOT_LOGIN, IoTDBConstant.GLOBAL_DB_NAME);
       return RpcUtils.getTSBatchExecuteStatementResp(TSStatusCode.NOT_LOGIN_ERROR);
     }
+    auditLogger.info("Session-{} create multi timeseries, first is {}", currSessionId.get(),

Review comment:
       added




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org