This is an automated email from the ASF dual-hosted git repository.
roryqi pushed a commit to branch branch-0.9
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/branch-0.9 by this push:
new 0f0d6eecd0 [#7068] fix(server): Fix unexpected output in
gravitino-server.out (#7074)
0f0d6eecd0 is described below
commit 0f0d6eecd09ad6e97309308d2c9525eddfd53bac
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Apr 25 16:11:17 2025 +0800
[#7068] fix(server): Fix unexpected output in gravitino-server.out (#7074)
### What changes were proposed in this pull request?
1. Fix unexpected output in gravitino-server.out
2. correct lineage output name
### Why are the changes needed?
Fix: #7068
### Does this PR introduce _any_ user-facing change?
no
### How was this patch tested?
Start Gravitino server, no unexpected output in gravitino-server.out,
and lineage log is outputed
Co-authored-by: FANNG <[email protected]>
---
conf/log4j2.properties.template | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/conf/log4j2.properties.template b/conf/log4j2.properties.template
index f1eb30fcd9..f1706c85e8 100644
--- a/conf/log4j2.properties.template
+++ b/conf/log4j2.properties.template
@@ -65,8 +65,9 @@ appender.lineage_file.strategy.delete.type = Delete
appender.lineage_file.strategy.delete.basePath = ${basePath}
appender.lineage_file.strategy.delete.maxDepth = 10
appender.lineage_file.strategy.delete.ifLastModified.type = IfLastModified
+appender.lineage_file.strategy.delete.ifLastModified.age = 30d
-logger.lineage.name = org.apache.gravitino.lineage.LineageLogSink$LineageLogger
+logger.lineage.name =
org.apache.gravitino.lineage.sink.LineageLogSink$LineageLogger
logger.lineage.level = info
logger.lineage.appenderRef.lineage_file.ref = lineage_file
logger.lineage.additivity = false