You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Erik Aschenbrenner <ea...@icubic.de> on 2015/05/05 11:19:50 UTC

Tools to analyze QPID JMS client log files

Dear Qpid users.

I'm using the QPID JMS AMQP 1.0 Java Client (v0.30). 

Do you know and/or use any tools that could help analyzing the log files
created by the JMS client?

For example it would be nice to have something that creates something more
human readable out of from the RAW log:
2015-05-05 08:38:58.057 - INFO - SEND[/193.29.90.166:11575] :
AMQP\x03\x01\x00\x00
2015-05-05 08:38:58.080 - INFO - RECV [/193.29.90.166:11575] :
AMQP\x03\x01\x00\x00\x00\x00\x00"\x02\x01\x00\x00\x00S@\xc0\x15\x01\xe0\x12\x02\xa3\x09ANONYMOUS\x05PLAIN
2015-05-05 08:38:58.114 - INFO - SEND[/193.29.90.166:11575] :
\x00\x00\x00#\x02\x01\x00\x00\x00SA\xc0\x16\x03\xa3\x09ANONYMOUS@\xa1\x07default

Regards,
Erik







--
View this message in context: http://qpid.2158936.n2.nabble.com/Tools-to-analyze-QPID-JMS-client-log-files-tp7623982.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

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


Re: Tools to analyze QPID JMS client log files

Posted by Alan Conway <ac...@redhat.com>.
On Tue, 2015-05-05 at 02:19 -0700, Erik Aschenbrenner wrote:
> Dear Qpid users.
> 
> I'm using the QPID JMS AMQP 1.0 Java Client (v0.30). 
> 
> Do you know and/or use any tools that could help analyzing the log files
> created by the JMS client?
> 
> For example it would be nice to have something that creates something more
> human readable out of from the RAW log:
> 2015-05-05 08:38:58.057 - INFO - SEND[/193.29.90.166:11575] :
> AMQP\x03\x01\x00\x00
> 2015-05-05 08:38:58.080 - INFO - RECV [/193.29.90.166:11575] :
> AMQP\x03\x01\x00\x00\x00\x00\x00"\x02\x01\x00\x00\x00S@\xc0\x15\x01\xe0\x12\x02\xa3\x09ANONYMOUS\x05PLAIN
> 2015-05-05 08:38:58.114 - INFO - SEND[/193.29.90.166:11575] :
> \x00\x00\x00#\x02\x01\x00\x00\x00SA\xc0\x16\x03\xa3\x09ANONYMOUS@\xa1\x07default

If you're mainly interested in the protocol exchange, the latest
wireshark has an AMQP decoder which does a good job. Lets you select
conversations, drill down for details of frames in human-readable form
etc. It has the advantage of a single tool for any AMQP client/server.
Of course it doesn't show you the frames in context of other log
messages from the broker which is sometimes a pain but it's one for the
toolbox.




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


Re: Tools to analyze QPID JMS client log files

Posted by Erik Aschenbrenner <ea...@icubic.de>.
Hi Rob,

thanks for making this clear. Yes I have turned the FRM logging on also but
I'm logging FRM and RAW to different files. 

Regards,
Erik



--
View this message in context: http://qpid.2158936.n2.nabble.com/Tools-to-analyze-QPID-JMS-client-log-files-tp7623982p7623990.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

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


Re: Tools to analyze QPID JMS client log files

Posted by Rob Godfrey <ro...@gmail.com>.
Hi Erik,

the human readable form of the RAW log should be in the FRM log (RAW
provides the raw bytes, FRM formats those as the AMQP frames, showing
the frame types, properties, etc).  Do you have FRM logging turned on
also?

-- Rob

On 5 May 2015 at 11:19, Erik Aschenbrenner <ea...@icubic.de> wrote:
> Dear Qpid users.
>
> I'm using the QPID JMS AMQP 1.0 Java Client (v0.30).
>
> Do you know and/or use any tools that could help analyzing the log files
> created by the JMS client?
>
> For example it would be nice to have something that creates something more
> human readable out of from the RAW log:
> 2015-05-05 08:38:58.057 - INFO - SEND[/193.29.90.166:11575] :
> AMQP\x03\x01\x00\x00
> 2015-05-05 08:38:58.080 - INFO - RECV [/193.29.90.166:11575] :
> AMQP\x03\x01\x00\x00\x00\x00\x00"\x02\x01\x00\x00\x00S@\xc0\x15\x01\xe0\x12\x02\xa3\x09ANONYMOUS\x05PLAIN
> 2015-05-05 08:38:58.114 - INFO - SEND[/193.29.90.166:11575] :
> \x00\x00\x00#\x02\x01\x00\x00\x00SA\xc0\x16\x03\xa3\x09ANONYMOUS@\xa1\x07default
>
> Regards,
> Erik
>
>
>
>
>
>
>
> --
> View this message in context: http://qpid.2158936.n2.nabble.com/Tools-to-analyze-QPID-JMS-client-log-files-tp7623982.html
> Sent from the Apache Qpid users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> 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