1

当我尝试通过(MDM 9)\打印MqLogelink.log时出现以下错误RulebaseCustomFunction

ERROR [stderr] (TIBCO EMS Session Dispatcher (895)) log4j:WARN No appenders could be found for logger (RulebaseCustomFunction).
ERROR [stderr] (TIBCO EMS Session Dispatcher (895)) log4j:WARN Please initialize the log4j system properly.

如何配置以避免上述错误?

有人可以帮我吗?

4

1 回答 1

4

log4j开箱即用提供的默认配置没有为RulebaseCustomFunction. 但是,您始终可以添加新的附加程序以ConfigValues.xml 尝试在“日志记录”类别中添加以下内容-

<ConfValue description="The debugging logging level CustomRulebaseFunction" name="Logging Level for CustomRulebaseFunction" propname="log4j.logger.RulebaseCustomFunction" sinceVersion="8.0" visibility="All" isHotDeployable="true" isHidden="false">
  <ConfString default="DEBUG,elink,error" value="DEBUG,elink,error"/>
</ConfValue>
于 2016-08-23T06:56:02.213 回答