ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » MQ logs

Post new topic  Reply to topic
 MQ logs « View previous topic :: View next topic » 
Author Message
riya
PostPosted: Fri Aug 19, 2005 10:01 pm    Post subject: MQ logs Reply with quote

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
View user's profile Send private message Send e-mail
Mr Butcher
PostPosted: Fri Aug 19, 2005 11:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
riya
PostPosted: Fri Aug 19, 2005 11:28 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Sat Aug 20, 2005 3:53 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Sat Aug 20, 2005 4:22 am    Post subject: Reply with quote

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
View user's profile Send private message
hopsala
PostPosted: Sat Aug 20, 2005 4:32 am    Post subject: Reply with quote

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
View user's profile Send private message
majidiiman
PostPosted: Wed Feb 06, 2013 8:35 am    Post subject: Re: MQ logs Reply with quote

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
View user's profile Send private message
nathanw
PostPosted: Wed Feb 06, 2013 8:50 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Cressida
PostPosted: Thu Feb 07, 2013 1:57 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQ logs
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.