apache/pulsar

change pulsar.log.level in log4j2.yaml not work?

Open

#14.298 geöffnet am 15. Feb. 2022

Auf GitHub ansehen
 (10 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Java (3.485 Forks)batch import
Stalehelp wantedlifecycle/staletype/bug

Repository-Metriken

Stars
 (13.697 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 3T 10h) (146 gemergte PRs in 30 T)

Beschreibung

change pulsar.log.level in log4j2.yaml not work?

Describe the bug i modify the value of pulsar.log.root.level and pulsar.log.level from info to warn in conf/log4j2.yaml without restart broker service. as follow:

as this issue discribe Add ability to log at a dynamic level, log4j2.x support reload conf with process restart.so as expected behavior, after monitorInterval later, broker service log's log level should be not lower than warn.but in fact, latest output log still is info.

That's not what we expected.

Version

  • pulsar version: 2.7.2
  • log4j2 version: 2.17.1

Does anyone have the same problem?

Contributor Guide