每100毫秒Mule 3.3.0请求 - 回复吐出日志。
<request-reply timeout="60000">
<jms:outbound-endpoint queue="mviq.121.order" />
<jms:inbound-endpoint queue="mviq.121.reply" />
</request-reply>
Mule 3.1中的相同代码很安静。如何停止这些日志语句?
以下是它随地吐痰的日志 -
18:17:12.144 [..mviProxyService.asyncReplies] DEBUG o.mule.routing.EventProcessingThread - Found 0 objects in store
18:17:12.244 [..mviProxyService.asyncReplies] DEBUG o.mule.routing.EventProcessingThread - Found 0 objects in store
18:17:12.344 [..mviProxyService.asyncReplies] DEBUG o.mule.routing.EventProcessingThread - Found 0 objects in store
18:17:12.444 [..mviProxyService.asyncReplies] DEBUG o.mule.routing.EventProcessingThread - Found 0 objects in store
18:17:12.544 [..mviProxyService.asyncReplies] DEBUG o.mule.routing.EventProcessingThread - Found 0 objects in store
答案 0 :(得分:0)
这适用于MuleStudio,创建一个包含以下内容的文件src / main / app / log4j.properties:
log4j.rootCategory=WARN, console
log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%-5p %d [%t] %c: %m%n
log4j.logger.org.apache=WARN
log4j.logger.org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog=ERROR
log4j.logger.org.springframework.beans.factory=WARN
log4j.logger.org.mule=WARN
log4j.logger.com.mycompany=WARN