This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new 22b3b2fbe0 [#7373] Improvement(server):Too much useless log about load
catalog in gravitino_audit.log and gravitino-server.log (#7604)
22b3b2fbe0 is described below
commit 22b3b2fbe096df840ba33e1072b79b9c5558b42e
Author: lsyulong <[email protected]>
AuthorDate: Mon Jul 21 14:05:41 2025 +0800
[#7373] Improvement(server):Too much useless log about load catalog in
gravitino_audit.log and gravitino-server.log (#7604)
What changes were proposed in this pull request?
Modified the log loading level of the loadCatalog method in the
CatalogOperations class to ensure that there will not be too many
useless logs in gravitino-server.log and gravitino_audit.log
Why are the changes needed?
Fix: #7373
Does this PR introduce any user-facing change?
no
How was this patch tested?
no
---------
Co-authored-by: Mini Yu <[email protected]>
---
conf/log4j2.properties.template | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/conf/log4j2.properties.template b/conf/log4j2.properties.template
index f1706c85e8..074b11fd7d 100644
--- a/conf/log4j2.properties.template
+++ b/conf/log4j2.properties.template
@@ -72,6 +72,10 @@ logger.lineage.level = info
logger.lineage.appenderRef.lineage_file.ref = lineage_file
logger.lineage.additivity = false
+logger.rest.name = org.apache.gravitino.server.web.rest
+logger.rest.level = warn
+logger.rest.additivity = false
+
# Configure root logger
rootLogger.level = info
rootLogger.appenderRef.rolling.ref = fileLogger