This is an automated email from the ASF dual-hosted git repository.
merlimat pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 373ab2b3211 [improve][fn] Standardize log4j2 Root logger configuration
to use system property (#26121)
373ab2b3211 is described below
commit 373ab2b32116229314942fafbde62e4004aff52b
Author: Malla Sandeep <[email protected]>
AuthorDate: Wed Jul 1 06:22:15 2026 +0530
[improve][fn] Standardize log4j2 Root logger configuration to use system
property (#26121)
---
.../runtime-all/src/main/resources/java_instance_log4j2.xml | 3 +--
.../runtime-all/src/main/resources/kubernetes_instance_log4j2.xml | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git
a/pulsar-functions/runtime-all/src/main/resources/java_instance_log4j2.xml
b/pulsar-functions/runtime-all/src/main/resources/java_instance_log4j2.xml
index c6e4b8eeb86..271669bb163 100644
--- a/pulsar-functions/runtime-all/src/main/resources/java_instance_log4j2.xml
+++ b/pulsar-functions/runtime-all/src/main/resources/java_instance_log4j2.xml
@@ -120,10 +120,9 @@
</AppenderRef>
</Logger>
<Root>
- <level>info</level>
+ <level>${sys:pulsar.log.level:-info}</level>
<AppenderRef>
<ref>${sys:pulsar.log.appender}</ref>
- <level>${sys:pulsar.log.level}</level>
</AppenderRef>
</Root>
</Loggers>
diff --git
a/pulsar-functions/runtime-all/src/main/resources/kubernetes_instance_log4j2.xml
b/pulsar-functions/runtime-all/src/main/resources/kubernetes_instance_log4j2.xml
index d245fe7714f..582905605c9 100644
---
a/pulsar-functions/runtime-all/src/main/resources/kubernetes_instance_log4j2.xml
+++
b/pulsar-functions/runtime-all/src/main/resources/kubernetes_instance_log4j2.xml
@@ -50,10 +50,9 @@
</AppenderRef>
</Logger>
<Root>
- <level>info</level>
+ <level>${sys:pulsar.log.level:-info}</level>
<AppenderRef>
<ref>Console</ref>
- <level>${sys:pulsar.log.level}</level>
</AppenderRef>
</Root>
</Loggers>