FANNG1 commented on code in PR #4575: URL: https://github.com/apache/gravitino/pull/4575#discussion_r1724895664
########## core/src/main/java/org/apache/gravitino/audit/AuditLogConfig.java: ########## @@ -0,0 +1,60 @@ +package org.apache.gravitino.audit; + +import java.util.Map; +import org.apache.gravitino.Config; +import org.apache.gravitino.config.ConfigBuilder; +import org.apache.gravitino.config.ConfigConstants; +import org.apache.gravitino.config.ConfigEntry; +import org.apache.gravitino.utils.MapUtils; + +public class AuditLogConfig extends Config { + public static final String AUDIT_LOG_PREFIX = "gravitino.audit."; + + public static final String AUDIT_LOG_ENABLED = "enable"; + static final String AUDIT_LOG_WRITER_PREFIX = "writer."; + static final String AUDIT_FORMATTER_PREFIX = "formatter."; + static final String AUDIT_LOG_WRITER_CLASS_NAME = AUDIT_LOG_WRITER_PREFIX + "class"; + static final String AUDIT_LOG_FORMATTER_CLASS_NAME = AUDIT_FORMATTER_PREFIX + "class"; + + static final ConfigEntry<String> AUDIT_LOG_ENABLED_CONF = + new ConfigBuilder(AUDIT_LOG_ENABLED) + .doc("Gravitino event audit log writer class") Review Comment: please correct the doc -- 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: commits-unsubscr...@gravitino.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org