停止打印org.mule.exception.catchMessaginExceptionsStrategy错误

停止打印org.mule.exception.catchMessaginExceptionsStrategy错误,mule,anypoint-studio,Mule,Anypoint Studio,在mule流中,当消息被拒绝时,我会将org.mule.exception.catchMessaginExceptionStrategy错误打印到日志中。我有一个可以处理异常的异常策略,但是错误和异常堆栈跟踪被打印到日志中,这将使日志在时间上无法读取。怎样才能阻止它?事实上,当某个东西被过滤器拒绝时,出现一条错误消息是很有趣的,它应该只是默默地处理接受的项目 ERROR 2017-07-10 11:33:18,723 [[...-flow].connector.sftp.mule.default

在mule流中,当消息被拒绝时,我会将org.mule.exception.catchMessaginExceptionStrategy错误打印到日志中。我有一个可以处理异常的异常策略,但是错误和异常堆栈跟踪被打印到日志中,这将使日志在时间上无法读取。怎样才能阻止它?事实上,当某个东西被过滤器拒绝时,出现一条错误消息是很有趣的,它应该只是默默地处理接受的项目

ERROR 2017-07-10 11:33:18,723 [[...-flow].connector.sftp.mule.default.receiver.01] org.mule.exception.CatchMessagingExceptionStrategy

如果您使用的是较新的mule版本,则捕获异常策略应允许您在
捕获异常策略
元素上设置
logException=“true”

i、 e.


或者,您可以从studio的GUI中取消选中“日志异常”按钮。

如果您使用的是较新的mule版本,捕获异常策略应允许您在
捕获异常策略
元素上设置
logException=“true”

i、 e.

或者,您可以在studio的GUI中取消选中“日志异常”按钮