You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geode.apache.org by Zvonimir Bilokapic <zv...@ericsson.com> on 2022/03/15 11:04:22 UTC
Logging question
Hi,
When starting locator and not using gemfire property log-level, but instead specifying your own log4j config file where the log level has been set to ERROR for example, Geode will still print INFO level logs. This happens regardless of the specified level. According to
https://geode.apache.org/docs/guide/114/managing/logging/configuring_log4j2.html
Customizing Your Own log4j2.xml File
Advanced users may want to move away entirely from setting log-* gemfire properties and instead specify their own log4j2.xml using -Dlog4j.configurationFile.
log-level parameter should not be needed. My own log4j2.xml file is identical to the one from geode-log4j-<version>.jar, only difference being the change of log level. Am I missing something or is it a bug?
BR,
Zvonimir