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


##########
conf/log4j2.properties.template:
##########
@@ -47,6 +47,34 @@ appender.rolling.strategy.delete.ifLastModified.type = 
IfLastModified
 # Delete all files older than 30 days
 appender.rolling.strategy.delete.ifLastModified.age = 30d
 
+
+## use seperate file for lineage log
+appender.lineage_file.type=RollingFile
+appender.lineage_file.name=lineage_file
+appender.lineage_file.fileName=${basePath}/gravitino_lineage.log
+appender.lineage_file.filePattern=${basePath}/gravitino_lineage_%d{yyyyMMdd}.log.gz
+appender.lineage_file.layout.type=PatternLayout
+appender.lineage_file.layout.pattern=[%d{yyyy-MM-dd HH:mm:ss}] %m%n
+appender.lineage_file.policies.type = Policies
+appender.lineage_file.filter.threshold.type = ThresholdFilter
+appender.lineage_file.filter.threshold.level = INFO
+appender.lineage_file.filter.threshold.onMatch = ACCEPT
+appender.lineage_file.filter.threshold.onMismatch = DENY

Review Comment:
   Will this mean that WARN, ERROR log in this class will also be output?



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

Reply via email to