简体   繁体   English

WSO2 CEP不记录输入事件

[英]WSO2 CEP doesn't logging input events

I want to check how long is my event processing in CEP (v.3.1.0). 我想检查我的事件在CEP(v.3.1.0)中的处理时间。 I change org.wso2.carbon.event.input.adaptor.jms.internal.util.JMSMessageListener to DEBUG/TRACE level and the same with org.wso2.carbon.event.output.adaptor.jms.internal.util.JMSMessageSender . 我将org.wso2.carbon.event.input.adaptor.jms.internal.util.JMSMessageListener更改为DEBUG/TRACE级别,并与org.wso2.carbon.event.output.adaptor.jms.internal.util.JMSMessageSender相同。

In console I have only output adapter logs. 在控制台中,我只有输出适配器日志。 Maybe someone knows how to fix it or some workaround? 也许有人知道如何解决它或一些解决方法?

EDIT 02.02.2015 编辑02.02.2015

This adapters has to be initialized (the first send event or the first receive event), then in "Logging" option, can change them log level. 该适配器必须初始化(第一个发送事件或第一个接收事件),然后在“记录”选项中可以更改它们的日志级别。

Kacu Kacu

You need to use the WSO2 CEP Event tracing capability [1]. 您需要使用WSO2 CEP事件跟踪功能[1]。 You can enable tracing for a particular artifact (eg JMSInputAdaptor) and then you can view the logged messages using the Monitor -> Event Tracer in the management console. 您可以启用对特定工件(例如JMSInputAdaptor)的跟踪,然后可以使用管理控制台中的Monitor-> Event Tracer查看记录的消息。 Additionally, you can view the logged trace messages in /repository/logs/wso2-cep-trace.log 此外,您可以在/repository/logs/wso2-cep-trace.log中查看记录的跟踪消息。

[1] https://docs.wso2.com/display/CEP310/CEP+Event+Tracer [1] https://docs.wso2.com/display/CEP310/CEP+Event+Tracer

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM