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 2022/12/19 10:12:07 UTC

[GitHub] [iotdb] HTHou commented on a diff in pull request #8491: [To rel/0.13][IOTDB-3662] upgrade audit log

HTHou commented on code in PR #8491:
URL: https://github.com/apache/iotdb/pull/8491#discussion_r1052024187


##########
server/src/assembly/resources/conf/iotdb-engine.properties:
##########
@@ -951,10 +951,30 @@ timestamp_precision=ms
 # Datatype: float
 # group_by_fill_cache_size_in_mb=1.0
 
-# determines whether audit logs are written to log files or IoTDB or not write.choice:LOGGER/IOTDB/NONE
+####################
+### Audit log Configuration
+####################
+
+# whether to enable the audit log.
+# Datatype: Boolean
+#enable_audit_log=false

Review Comment:
   ```suggestion
   # enable_audit_log=false
   ```



##########
server/src/assembly/resources/conf/iotdb-engine.properties:
##########
@@ -951,10 +951,30 @@ timestamp_precision=ms
 # Datatype: float
 # group_by_fill_cache_size_in_mb=1.0
 
-# determines whether audit logs are written to log files or IoTDB or not write.choice:LOGGER/IOTDB/NONE
+####################
+### Audit log Configuration
+####################
+
+# whether to enable the audit log.
+# Datatype: Boolean
+#enable_audit_log=false
+
+# Output location of audit logs
 # Datatype: String
-# audit_log_storage=NONE
+# IOTDB: the stored time series is: root.__system.audit.'user={user}'
+# LOGGER: log_audit.log in the log directory
+#audit_log_storage=IOTDB,LOGGER

Review Comment:
   ```suggestion
   # audit_log_storage=IOTDB,LOGGER
   ```



-- 
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