TIBCO MDM 9:log4j:WARN没有为记录器找到appender(RulebaseCustomFunction)

时间:2016-08-10 09:50:37

标签: log4j tibco master-data-management tibco-mdm

在我尝试通过MqLog(MDM 9)打印RulebaseCustomFunction elink.log 时出现以下错误\ n \ n \ n

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.

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

有人可以帮帮我吗?

1 个答案:

答案 0 :(得分:4)

开箱即用的默认log4j配置没有为RulebaseCustomFunction定义的appender。但是,您始终可以向ConfigValues.xml添加新的appender 尝试在“记录”类别中添加以下内容 -

<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>