lhotari opened a new pull request #12941: URL: https://github.com/apache/pulsar/pull/12941
### Motivation Reverts #7789 which had this motivation: > Since currently the root log level is set to info, it is not easy to turn the logging level to debug by running PULSAR_LOG_LEVEL=debug bin/pulsar standalone. This PR reverts the change to set root log level to debug since it can cause many performance issues (such as #8908) when `Logger.isDebugEnabled()` defaults to true. This PR provides an alternative solution to enable debug logging. The expectation is that debug logging could be enabled by specifying `PULSAR_LOG_LEVEL=debug`. The solution is to make PULSAR_LOG_ROOT_LEVEL default to PULSAR_LOG_LEVEL. ### Modifications - revert #7789 commit 76090c5d - make PULSAR_LOG_ROOT_LEVEL to default to PULSAR_LOG_LEVEL ### Documentation - [x ] `no-need-doc` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
