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 2021/07/06 03:27:14 UTC
[GitHub] [iotdb] yanhongwangg commented on a change in pull request #3511: add audit log when execute delete and set sg for tracing
yanhongwangg commented on a change in pull request #3511:
URL: https://github.com/apache/iotdb/pull/3511#discussion_r664211096
##########
File path: server/src/main/java/org/apache/iotdb/db/qp/executor/PlanExecutor.java
##########
@@ -959,6 +961,11 @@ private void addRowRecordForShowQuery(
@Override
public void delete(DeletePlan deletePlan) throws QueryProcessException {
+ AUDIT_LOGGER.info(
+ "delete data from {} in [{},{}]",
+ deletePlan.getPaths(),
+ deletePlan.getDeleteStartTime(),
+ deletePlan.getDeleteEndTime());
Review comment:
it can print the array elements directly as follows

--
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.
To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org