基于wso2 esb中服务器端的MessageID跟踪日志

基于wso2 esb中服务器端的MessageID跟踪日志,wso2,wso2esb,trace,Wso2,Wso2esb,Trace,我正在使用wso2esb4.7.0。希望在服务器端跟踪日志。为此,我创建了一个简单的服务,其中我将日志放在inSequence、sequence1、sequence2和outSequence。我的输出如下所示: [2015-02-18 11:08:10,937] INFO - LogMediator To: /services/LogDetection, MessageID: urn:uuid:cbd2c3df-f717-4a44-92e4-68ff12038d2a, Direction: r

我正在使用wso2esb4.7.0。希望在服务器端跟踪日志。为此,我创建了一个简单的服务,其中我将日志放在inSequence、sequence1、sequence2和outSequence。我的输出如下所示:

[2015-02-18 11:08:10,937]  INFO - LogMediator To: /services/LogDetection, MessageID: urn:uuid:cbd2c3df-f717-4a44-92e4-68ff12038d2a, Direction: request, partybranchid in INSEQUENCE OF MAIN PROXY = -1, Envelope: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body><partybranchid>-1</partybranchid></soapenv:Body></soapenv:Envelope>
[2015-02-18 11:08:10,947]  INFO - LogMediator To: http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: , MessageID: urn:uuid:a11ee439-65b0-4875-bb82-132267455fb2, Direction: response, Log in = SEQUENCE1, Envelope: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><axis2ns4:binary xmlns:axis2ns4="http://ws.apache.org/commons/ns/payload"></axis2ns4:binary></soapenv:Body></soapenv:Envelope>
[2015-02-18 11:08:10,955]  INFO - LogMediator To: http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: , MessageID: urn:uuid:ad3a016f-3e2c-49bf-bdb0-a40c7b91e25e, Direction: response, Log in = SEQUENCE2, Envelope: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><axis2ns5:binary xmlns:axis2ns5="http://ws.apache.org/commons/ns/payload"></axis2ns5:binary></soapenv:Body></soapenv:Envelope>
[2015-02-18 11:08:10,963]  INFO - LogMediator To: http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: , MessageID: urn:uuid:7a7b7f2d-3713-440d-b95c-583901848ec0, Direction: response, partybranchid in OUTSEQUENCE OF MAIN PROXY = -1, Envelope: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><axis2ns6:binary xmlns:axis2ns6="http://ws.apache.org/commons/ns/payload"></axis2ns6:binary></soapenv:Body></soapenv:Envelope>
[2015-02-18 11:08:10937]信息-LogMediator收件人:/services/LogDetection,MessageID:urn:uuid:cbd2c3df-f717-4a44-92e4-68ff12038d2a,方向:请求,主代理插入顺序中的partybranchid=-1,信封:-1
[2015-02-18 11:08:10947]信息-日志调解人收件人:http://www.w3.org/2005/08/addressing/anonymous,WSAction:,SOAPAction:,MessageID:urn:uuid:a11ee439-65b0-4875-bb82-132267455fb2,方向:响应,登录=序列1,信封:
[2015-02-18 11:08:10955]信息-日志调解人收件人:http://www.w3.org/2005/08/addressing/anonymous,WSAction:,SOAPAction:,MessageID:urn:uuid:ad3a016f-3e2c-49bf-bdb0-a40c7b91e25e,方向:响应,登录=序列2,信封:
[2015-02-18 11:08:10963]信息-日志调解人收件人:http://www.w3.org/2005/08/addressing/anonymous,WSAction:,SOAPAction:,MessageID:urn:uuid:7a7b7f2d-3713-440d-b95c-583901848ec0,方向:响应,主代理的外部partybranchid=-1,信封:
上面的日志显示我的指针开始从内接顺序移动到seq1到seq2再到外接顺序。每个日志都有其唯一的MessageID,但对于同一服务中的每个日志,它似乎也不同。若我希望跟踪日志,那个么MessageID是最好的选择,因为它是唯一的参数。但是如果它是不同的,那么我如何跟踪它呢