Author |
Message
|
ranganathan |
Posted: Mon Aug 11, 2008 6:35 am Post subject: Messages in Linear Logging |
|
|
 Centurion
Joined: 03 Jul 2008 Posts: 104
|
I want to know how to retreive the messages when we use Linear logging. I created a QM with Linear logging, created a local queue with DEFPSIST(YES), I had put around 60 messages in to the queue.
Besides using rcdmqimg and rcrmqobj... How will i retrieve/(atleast) see my messages. I read that in Linear logging messages will be written in the log files. I did a 'dmpmqlog' to the queue manager and got an output but im not able to see any of my messages.
Just wondering how can one retrieve a message from the logs.. i've seen people talking about msgs written in logs.. is it possible for us to see the message written in the log file.
Command: dmpmqlog -m <QmName> > log.txt
Log Path: <Installation path>\log\QmName\active\S000**.txt
Please let me know if im looking into the correct files... |
|
Back to top |
|
 |
RogerLacroix |
Posted: Mon Aug 11, 2008 7:45 am Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Hi,
Don't go poking around the log files, as they are in proprietary binary format. The only tool that I know about is Cressida's ReQuest product.
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Aug 11, 2008 1:57 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Also before reading the logs you need to format them. Check the MQ admin manual... _________________ MQ & Broker admin |
|
Back to top |
|
 |
kevinf2349 |
Posted: Mon Aug 11, 2008 7:03 pm Post subject: Re: Messages in Linear Logging |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
ranganathan wrote: |
I want to know how to retreive the messages when we use Linear logging. |
The same way you do with circular logging....use MQGET.
As Roger says....do not go poking around in the loggig file. If you really have to poking around...look but don't touch.
"Here be dragons" if you start updating log files outside of MQ's published interfaces. |
|
Back to top |
|
 |
ranganathan |
Posted: Tue Aug 12, 2008 9:55 am Post subject: |
|
|
 Centurion
Joined: 03 Jul 2008 Posts: 104
|
fjb_saper wrote: |
Also before reading the logs you need to format them. Check the MQ admin manual... |
But 'dmpmqlog' will give us a formatted version of the WebSphere MQ system log isnt it ?! (I checked in the infocentre as well...
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzak.doc/mqod.htm)
I was thinking that we will be able to see our messages in the formatted dump....
So as i understand we will only be able to retrieve the message from the log not see it.. |
|
Back to top |
|
 |
|