WSO2 - log4j 配置以避免 DependencyTracker 消息

WSO2 - log4j configuration to avoid DependencyTracker Messages

我正在使用 WSO2 6.5.0。

log4j.properties 中,我配置了这些行,假装不再看到 DependencyTracker 消息:

log4j.logger.DependencyTracker.name = org.wso2.carbon.mediation.dependency.mgt.DependencyTracker
log4j.logger.DependencyTracker.level = WARN

但在控制台上,我一直看到:

[2020-09-03 17:31:00,003] [EI-Core] INFO - DependencyTracker Local entry : fileExchangeProcessStatus was added to the Synapse configuration successfully [2020-09-03 17:31:00,026] [EI-Core] INFO - DependencyTracker Local entry : fileExchangeProcessStatus was removed from the Synapse configuration successfully [2020-09-03 17:31:00,026] [EI-Core] INFO - DependencyTracker Local entry : fileExchangeProcessStatus was added to the Synapse configuration successfully [2020-09-03 17:32:00,003] [EI-Core] INFO - DependencyTracker Local entry : fileExchangeProcessStatus was removed from the Synapse configuration successfully [2020-09-03 17:32:00,004] [EI-Core] INFO - DependencyTracker Local entry : fileExchangeProcessStatus was added to the Synapse configuration successfully [2020-09-03 17:32:00,030] [EI-Core] INFO - DependencyTracker Local entry : fileExchangeProcessStatus was removed from the Synapse configuration successfully [2020-09-03 17:32:00,031] [EI-Core] INFO - DependencyTracker Local entry : fileExchangeProcessStatus was added to the Synapse configuration successfully

如何配置 log4j 以避免 DependencyTracker 的这些消息?

最后,我将此行添加到 log4j.properties,消息消失了。

log4j.logger.org.wso2.carbon.mediation.dependency.mgt.DependencyTracker=ERROR,CARBON_LOGFILE,CARBON_MEMORY