0

Mule 3.3.0 请求-回复每 100 毫秒吐出一次日志。

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

1 回答 1

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
于 2013-02-21T03:13:25.057 回答