You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[docs] Log4j configuration needs to be better documented #10200
We currently don't have much documentation around how to configure Log4j debugging for Pulsar, and the log4j docs are confusing. For example, I'm trying to enable DEBUG logging for Pulsar, but we're having trouble getting debug statements to show up in our rolling log. The Pulsar docs don't provide sufficient explanation around how to do this.
Activity
devinbost commentedon Apr 12, 2021
For example, the following Log4j file doesn't emit debug statements for permits from
ConsumerImpl,Consumer, orPersistentDispatcherMultipleConsumerslog4j2.yaml.txt
(Ignore the .txt extension. That was just to enable uploading it into the Github issue.)
devinbost commentedon Apr 12, 2021
I was able to get debug statements after hard coding
"debug"in place of"${sys:pulsar.log.level}"in this part of the log4j2.yaml file:However, I haven't been able to get debug logging on the functions.
codelipenghui commentedon Mar 4, 2022
The issue had no activity for 30 days, mark with Stale label.