在我尝试通过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.
如何配置以避免上述错误?
有人可以帮帮我吗?
答案 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>