Author |
Message
|
riya |
Posted: Fri Aug 19, 2005 10:01 pm Post subject: MQ logs |
|
|
Newbie
Joined: 19 Aug 2005 Posts: 3
|
Could someone pls tell me, where i can find the MQ logs (not error logs). The one which shows the activities on queues of a QM; like MQput MQget etc.
Thanks,
Ri. |
|
Back to top |
|
 |
Mr Butcher |
Posted: Fri Aug 19, 2005 11:16 pm Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
our logs are on os/390 in a user catalog named flq.machine.qmgr.date.time.archivenumber
oh, you are not on os/390? too bad you did not tell us. _________________ Regards, Butcher |
|
Back to top |
|
 |
riya |
Posted: Fri Aug 19, 2005 11:28 pm Post subject: |
|
|
Newbie
Joined: 19 Aug 2005 Posts: 3
|
thanks, Actually i am looking for logs in UNIX(AIX).
Can you/someone pls help?
Ri |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Aug 20, 2005 3:53 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
The logs are in the directory specified in /var/mqm/qmgrs/<qmgrname>/qm.ini
Usually that is /var/mqm/log/<qmgr_name>/active.
You cannot read them as is.
To format any output you may have to stop the qmgr.
(or was that just for trace files?)
If the logging is circular you may never be able to find what you are looking for as it may already have been overwritten.
And IF YOU TAMPER WITH THE ACTIVE LOG FILES YOU WILL HAVE TO DELETE AND RECREATE YOUR QUEUE MANAGER
Enjoy  |
|
Back to top |
|
 |
jefflowrey |
Posted: Sat Aug 20, 2005 4:22 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
And these logs DO NOT show you the information you are looking for.
The only way to get, for example, when a PUT was done and by what user and onto what queue, is to use an API exit.
Or buy some monitoring software that includes an API exit. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
hopsala |
Posted: Sat Aug 20, 2005 4:32 am Post subject: |
|
|
 Guardian
Joined: 24 Sep 2004 Posts: 960
|
Umm, jeff that's not really true. I just made a test myself (haven't done it in so long wanted to refresh my memory) there's an entry for every MQGET or MQPUT every done. For example
Quote: |
LOG RECORD - LSN <0:0:17:50376>
**********
HLG Header: lrecsize 30708, version 1, rmid 0, eyecatcher HLRH
LogRecdType . . : AQM Put Message (257)
Eyecatcher . . : ALRH Version . . . . : 1
LogRecdLen . . : 30688 LogRecdOwnr . . : 256 (AQM)
XTranid . . . . : TranType: MQI TranNum{High 0, Low 38}
QueueName . . . : A
Qid . . . . . . : {Hash 2147477731, Counter: 5}
ThisLSN . . . . : <0:0:0:0>
PrevLSN . . . . : <0:0:0:0> |
followed by the entire message content + MQMD...
Anyway riya, look in System Admin Guide for "dmpmqlog". You have to stop the QM to use the command. The basic command is
Quote: |
dmpmqlog -m QMGRNAME |
you should probably pipe it into file, it tends to be a rather large dump...
This will not give you any statistics, but only a action-by-action dump of all activities, so it is only appropriate if you want to see what's going on just this once; generally it's more fun to use than it is actually useful. If statistics is what you want, use trace. |
|
Back to top |
|
 |
majidiiman |
Posted: Wed Feb 06, 2013 8:35 am Post subject: Re: MQ logs |
|
|
Newbie
Joined: 06 Feb 2013 Posts: 1
|
riya wrote: |
Could someone pls tell me, where i can find the MQ logs (not error logs). The one which shows the activities on queues of a QM; like MQput MQget etc.
Thanks,
Ri. |
QMANAGER EROR LOGS:C:\Program Files (x86)\IBM\WebSphere MQ\Qmgrs\QMGR1\errors
this is the link though its erors but all the activities of qmgr would be save here |
|
Back to top |
|
 |
nathanw |
Posted: Wed Feb 06, 2013 8:50 am Post subject: |
|
|
 Knight
Joined: 14 Jul 2004 Posts: 550
|
and the all time record for opening an 8 year old thread goes to!!
PS I hope they have found their logs by now _________________ Who is General Failure and why is he reading my hard drive?
Artificial Intelligence stands no chance against Natural Stupidity.
Only the User Trace Speaks The Truth  |
|
Back to top |
|
 |
Cressida |
Posted: Thu Feb 07, 2013 1:57 am Post subject: |
|
|
Disciple
Joined: 13 Jul 2007 Posts: 157
|
Nice opportunity to re-plug Cressida ReQuest for WMQ , the tool that harvests the information collected in MQ Logs ........ and including a Log Manager feature to help with the Admin related tasks of looking after the Log files.
This ReQuest Key Features should provide most of the initial reading material.
And here are a good few Customer Case Studies on the subject.
Thank you. |
|
Back to top |
|
 |
|