Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix performance issue caused by invalid logging configuration (apache…
…#8908) ### Motivation Profiling a 3 node Pulsar cluster running with 2.7.0 version showed allocation hotspots in `log.debug` methods. This indicated that the root logger level was set to debug. ### Modifications - Configure the root log level in `bin/pulsar` startup script to use `info` level by default. This can be done by setting the `pulsar.log.root.level` system property. - since the root log level was debug, all code blocks within `log.isDebugEnabled()` got executed. This caused a lot of unnecessary memory allocations and wasted CPU cycles.
- Loading branch information