jerryshao commented on code in PR #5458:
URL: https://github.com/apache/gravitino/pull/5458#discussion_r1828978563


##########
core/src/main/java/org/apache/gravitino/audit/FileAuditWriter.java:
##########
@@ -96,4 +100,23 @@ public void close() {
   public String name() {
     return "file";
   }
+
+  private void tryFlush() {
+    Instant now = Instant.now();
+    if (now.isAfter(nextFlushTime)) {
+      nextFlushTime = now.plusSeconds(flushIntervalSecs);
+      Log.info("Try flush audit writer");

Review Comment:
   Remove this log or change to trace log, otherwise, it will be too verbose.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to