You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by akabhishek1 <ma...@gmail.com> on 2018/11/16 17:03:57 UTC

how to understand proton-j logs?

Hi Team,

We are using qpid-jms-client to publish and subscribe the messages. As this
client internally uses proton-j for publishing and subscribing messages.

I can see proton-j logs but i don't know what does mean.  Could you please
guide me what does mean by below sample logs.  If you have any sample
document to understand log that will be very great. 
At least high level of log meaning that will be also great for initial point
of view. 


Sample Log --> 
2018-11-15 17:34:24,159 [AmqpProvider
:(1):[amqps://******.servicebus.windows.net:-1]] TRACE
org.apache.qpid.jms.provider.amqp.FRAMES - SENT:
Attach{name='qpid-jms:receiver:ID:b9fd1c39-f95a-4c14-b83d-5a2e318bb125:1:4:1:ipt-test',
handle=0, role=RECEIVER, sndSettleMode=UNSETTLED, rcvSettleMode=FIRST,
source=Source{address='ipt-test', durable=NONE, expiryPolicy=LINK_DETACH,
timeout=0, dynamic=false, dynamicNodeProperties=null, distributionMode=null,
filter=null, defaultOutcome=Modified{deliveryFailed=true,
undeliverableHere=null, messageAnnotations=null},
outcomes=[amqp:accepted:list, amqp:rejected:list, amqp:released:list,
amqp:modified:list], capabilities=[queue]}, target=Target{address='null',
durable=NONE, expiryPolicy=SESSION_END, timeout=0, dynamic=false,
dynamicNodeProperties=null, capabilities=null}, unsettled=null,
incompleteUnsettled=false, initialDeliveryCount=null, maxMessageSize=null,
offeredCapabilities=null, desiredCapabilities=null, properties=null}
2018-11-15 17:34:24,206 [AmqpProvider
:(1):[amqps://******.servicebus.windows.net:-1]] TRACE
org.apache.qpid.jms.provider.amqp.FRAMES - RECV:
Attach{name='qpid-jms:receiver:ID:b9fd1c39-f95a-4c14-b83d-5a2e318bb125:1:4:1:ipt-test',
handle=0, role=SENDER, sndSettleMode=MIXED, rcvSettleMode=SECOND,
source=Source{address='ipt-test', durable=NONE, expiryPolicy=LINK_DETACH,
timeout=0, dynamic=false, dynamicNodeProperties=null, distributionMode=null,
filter=null, defaultOutcome=Modified{deliveryFailed=true,
undeliverableHere=null, messageAnnotations=null},
outcomes=[amqp:accepted:list, amqp:rejected:list, amqp:released:list,
amqp:modified:list], capabilities=[queue]}, target=Target{address='null',
durable=NONE, expiryPolicy=SESSION_END, timeout=0, dynamic=false,
dynamicNodeProperties=null, capabilities=null}, unsettled=null,
incompleteUnsettled=false, initialDeliveryCount=0, maxMessageSize=266240,
offeredCapabilities=null, desiredCapabilities=null, properties=null}
2018-11-15 17:34:24,206 [AmqpProvider
:(1):[amqps://******.servicebus.windows.net:-1]] TRACE
org.apache.qpid.jms.provider.amqp.FRAMES - SENT: Flow{nextIncomingId=1,
incomingWindow=2047, nextOutgoingId=1, outgoingWindow=2147483647, handle=0,
deliveryCount=0, linkCredit=1000, available=null, drain=false, echo=false,
properties=null}
2018-11-15 17:34:50,516 [AmqpProvider
:(1):[amqps://******.servicebus.windows.net:-1]] TRACE
org.apache.qpid.jms.provider.amqp.FRAMES - RECV: Empty Frame
2018-11-15 17:35:16,815 [AmqpProvider
:(1):[amqps://******.servicebus.windows.net:-1]] TRACE
org.apache.qpid.jms.provider.amqp.FRAMES - RECV: Empty Frame
2018-11-15 17:35:43,142 [AmqpProvider
:(1):[amqps://******.servicebus.windows.net:-1]] TRACE
org.apache.qpid.jms.provider.amqp.FRAMES - RECV: Empty Frame
2018-11-15 17:36:09,409 [AmqpProvider
:(1):[amqps://******.servicebus.windows.net:-1]] TRACE
org.apache.qpid.jms.provider.amqp.FRAMES - RECV: Empty Frame
2018-11-15 17:36:35,659 [AmqpProvider
:(1):[amqps://******.servicebus.windows.net:-1]] TRACE
org.apache.qpid.jms.provider.amqp.FRAMES - RECV: Empty Frame
2018-11-15 17:36:50,126 [AmqpProvider
:(1):[amqps://******.servicebus.windows.net:-1]] TRACE
org.apache.qpid.jms.provider.amqp.FRAMES - RECV: Transfer{handle=0,
deliveryId=0, deliveryTag=~#d\x11r\x8a\xf6I\x8e\x8f"\x98\xf6O\xd27,
messageFormat=0, settled=null, more=false, rcvSettleMode=null, state=null,
resume=false, aborted=false, batchable=true}
2018-11-15 17:36:50,228 [AmqpProvider
:(1):[amqps://******.servicebus.windows.net:-1]] TRACE
org.apache.qpid.jms.provider.amqp.FRAMES - SENT: Disposition{role=RECEIVER,
first=0, last=0, settled=true, state=Accepted{}, batchable=false}
2018-11-15 17:36:50,562 [AmqpProvider
:(1):[amqps://******.servicebus.windows.net:-1]] TRACE
org.apache.qpid.jms.provider.amqp.FRAMES - RECV: Transfer{handle=0,
deliveryId=0, deliveryTag=c\xc7\xbf\x83C'\xefE\x8bo+\xea\xba\x98\xb3H,
messageFormat=0, settled=null, more=false, rcvSettleMode=null, state=null,
resume=false, aborted=false, batchable=true}
2018-11-15 17:36:50,577 [AmqpProvider
:(1):[amqps://******.servicebus.windows.net:-1]] TRACE
org.apache.qpid.jms.provider.amqp.FRAMES - SENT: Disposition{role=RECEIVER,
first=0, last=0, settled=true, state=Accepted{}, batchable=false}
2018-11-15 17:36:54,842 [AmqpProvider
:(1):[amqps://******.servicebus.windows.net:-1]] TRACE
org.apache.qpid.jms.provider.amqp.FRAMES - RECV: Transfer{handle=0,
deliveryId=1, deliveryTag=\x1f>\xf63P\xba\x10I\xa9\x92\x86\xf1U\xc0-\x81,
messageFormat=0, settled=null, more=false, rcvSettleMode=null, state=null,
resume=false, aborted=false, batchable=true}
2018-11-15 17:36:54,842 [AmqpProvider
:(1):[amqps://******.servicebus.windows.net:-1]] TRACE
org.apache.qpid.jms.provider.amqp.FRAMES - SENT: Disposition{role=RECEIVER,
first=1, last=1, settled=true, state=Accepted{}, batchable=false}



Thanks in advance ..

Regards,
Abhishek kumar



--
Sent from: http://qpid.2158936.n2.nabble.com/Apache-Qpid-users-f2158936.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Re: how to understand proton-j logs?

Posted by Chuck Rolke <cr...@redhat.com>.
The trace frames are the deepest details of the AMQP communication channels.
If you don't know AMQP that well you can start at 
https://github.com/xinchen10/awesome-amqp or https://dzone.com/refcardz/amqp-essentials


----- Original Message -----
> From: "akabhishek1" <ma...@gmail.com>
> To: users@qpid.apache.org
> Sent: Friday, November 16, 2018 12:03:57 PM
> Subject: how to understand proton-j logs?
> 
> Hi Team,
> 
> We are using qpid-jms-client to publish and subscribe the messages. As this
> client internally uses proton-j for publishing and subscribing messages.
> 
> I can see proton-j logs but i don't know what does mean.  Could you please
> guide me what does mean by below sample logs.  If you have any sample
> document to understand log that will be very great.
> At least high level of log meaning that will be also great for initial point
> of view.
> 
> 
> Sample Log -->
> 2018-11-15 17:34:24,159 [AmqpProvider
> :(1):[amqps://******.servicebus.windows.net:-1]] TRACE
> org.apache.qpid.jms.provider.amqp.FRAMES - SENT:
> Attach{name='qpid-jms:receiver:ID:b9fd1c39-f95a-4c14-b83d-5a2e318bb125:1:4:1:ipt-test',
> handle=0, role=RECEIVER, sndSettleMode=UNSETTLED, rcvSettleMode=FIRST,
> source=Source{address='ipt-test', durable=NONE, expiryPolicy=LINK_DETACH,
> timeout=0, dynamic=false, dynamicNodeProperties=null, distributionMode=null,
> filter=null, defaultOutcome=Modified{deliveryFailed=true,
> undeliverableHere=null, messageAnnotations=null},
> outcomes=[amqp:accepted:list, amqp:rejected:list, amqp:released:list,
> amqp:modified:list], capabilities=[queue]}, target=Target{address='null',
> durable=NONE, expiryPolicy=SESSION_END, timeout=0, dynamic=false,
> dynamicNodeProperties=null, capabilities=null}, unsettled=null,
> incompleteUnsettled=false, initialDeliveryCount=null, maxMessageSize=null,
> offeredCapabilities=null, desiredCapabilities=null, properties=null}
> 2018-11-15 17:34:24,206 [AmqpProvider
> :(1):[amqps://******.servicebus.windows.net:-1]] TRACE
> org.apache.qpid.jms.provider.amqp.FRAMES - RECV:
> Attach{name='qpid-jms:receiver:ID:b9fd1c39-f95a-4c14-b83d-5a2e318bb125:1:4:1:ipt-test',
> handle=0, role=SENDER, sndSettleMode=MIXED, rcvSettleMode=SECOND,
> source=Source{address='ipt-test', durable=NONE, expiryPolicy=LINK_DETACH,
> timeout=0, dynamic=false, dynamicNodeProperties=null, distributionMode=null,
> filter=null, defaultOutcome=Modified{deliveryFailed=true,
> undeliverableHere=null, messageAnnotations=null},
> outcomes=[amqp:accepted:list, amqp:rejected:list, amqp:released:list,
> amqp:modified:list], capabilities=[queue]}, target=Target{address='null',
> durable=NONE, expiryPolicy=SESSION_END, timeout=0, dynamic=false,
> dynamicNodeProperties=null, capabilities=null}, unsettled=null,
> incompleteUnsettled=false, initialDeliveryCount=0, maxMessageSize=266240,
> offeredCapabilities=null, desiredCapabilities=null, properties=null}
> 2018-11-15 17:34:24,206 [AmqpProvider
> :(1):[amqps://******.servicebus.windows.net:-1]] TRACE
> org.apache.qpid.jms.provider.amqp.FRAMES - SENT: Flow{nextIncomingId=1,
> incomingWindow=2047, nextOutgoingId=1, outgoingWindow=2147483647, handle=0,
> deliveryCount=0, linkCredit=1000, available=null, drain=false, echo=false,
> properties=null}
> 2018-11-15 17:34:50,516 [AmqpProvider
> :(1):[amqps://******.servicebus.windows.net:-1]] TRACE
> org.apache.qpid.jms.provider.amqp.FRAMES - RECV: Empty Frame
> 2018-11-15 17:35:16,815 [AmqpProvider
> :(1):[amqps://******.servicebus.windows.net:-1]] TRACE
> org.apache.qpid.jms.provider.amqp.FRAMES - RECV: Empty Frame
> 2018-11-15 17:35:43,142 [AmqpProvider
> :(1):[amqps://******.servicebus.windows.net:-1]] TRACE
> org.apache.qpid.jms.provider.amqp.FRAMES - RECV: Empty Frame
> 2018-11-15 17:36:09,409 [AmqpProvider
> :(1):[amqps://******.servicebus.windows.net:-1]] TRACE
> org.apache.qpid.jms.provider.amqp.FRAMES - RECV: Empty Frame
> 2018-11-15 17:36:35,659 [AmqpProvider
> :(1):[amqps://******.servicebus.windows.net:-1]] TRACE
> org.apache.qpid.jms.provider.amqp.FRAMES - RECV: Empty Frame
> 2018-11-15 17:36:50,126 [AmqpProvider
> :(1):[amqps://******.servicebus.windows.net:-1]] TRACE
> org.apache.qpid.jms.provider.amqp.FRAMES - RECV: Transfer{handle=0,
> deliveryId=0, deliveryTag=~#d\x11r\x8a\xf6I\x8e\x8f"\x98\xf6O\xd27,
> messageFormat=0, settled=null, more=false, rcvSettleMode=null, state=null,
> resume=false, aborted=false, batchable=true}
> 2018-11-15 17:36:50,228 [AmqpProvider
> :(1):[amqps://******.servicebus.windows.net:-1]] TRACE
> org.apache.qpid.jms.provider.amqp.FRAMES - SENT: Disposition{role=RECEIVER,
> first=0, last=0, settled=true, state=Accepted{}, batchable=false}
> 2018-11-15 17:36:50,562 [AmqpProvider
> :(1):[amqps://******.servicebus.windows.net:-1]] TRACE
> org.apache.qpid.jms.provider.amqp.FRAMES - RECV: Transfer{handle=0,
> deliveryId=0, deliveryTag=c\xc7\xbf\x83C'\xefE\x8bo+\xea\xba\x98\xb3H,
> messageFormat=0, settled=null, more=false, rcvSettleMode=null, state=null,
> resume=false, aborted=false, batchable=true}
> 2018-11-15 17:36:50,577 [AmqpProvider
> :(1):[amqps://******.servicebus.windows.net:-1]] TRACE
> org.apache.qpid.jms.provider.amqp.FRAMES - SENT: Disposition{role=RECEIVER,
> first=0, last=0, settled=true, state=Accepted{}, batchable=false}
> 2018-11-15 17:36:54,842 [AmqpProvider
> :(1):[amqps://******.servicebus.windows.net:-1]] TRACE
> org.apache.qpid.jms.provider.amqp.FRAMES - RECV: Transfer{handle=0,
> deliveryId=1, deliveryTag=\x1f>\xf63P\xba\x10I\xa9\x92\x86\xf1U\xc0-\x81,
> messageFormat=0, settled=null, more=false, rcvSettleMode=null, state=null,
> resume=false, aborted=false, batchable=true}
> 2018-11-15 17:36:54,842 [AmqpProvider
> :(1):[amqps://******.servicebus.windows.net:-1]] TRACE
> org.apache.qpid.jms.provider.amqp.FRAMES - SENT: Disposition{role=RECEIVER,
> first=1, last=1, settled=true, state=Accepted{}, batchable=false}
> 
> 
> 
> Thanks in advance ..
> 
> Regards,
> Abhishek kumar
> 
> 
> 
> --
> Sent from: http://qpid.2158936.n2.nabble.com/Apache-Qpid-users-f2158936.html
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org