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 Discussion » Log Files

Post new topic  Reply to topic
 Log Files « View previous topic :: View next topic » 
Author Message
gbenn
PostPosted: Tue Jul 30, 2002 10:51 am    Post subject: Log Files Reply with quote

Novice

Joined: 19 Jul 2002
Posts: 12
Location: Ann Arbor, Michigan USA

Maybe this is a dumb question but does anyone know how to view the Queue Manager's log files created in: C:\Program Files\MQSeries\log\

The files have a .TXT file association with a .LOG file extension but they are clearly not text files.

Troubleshooting how to troubleshoot is a pain in the rear.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
bduncan
PostPosted: Tue Jul 30, 2002 11:54 am    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

Hmm.. You should be able to read them with any standard text editor (emacs, vi, wordpad, etc...) I think they don't appear correctly in notepad though because of the lack of the CRLF (since the queue manager writes the logs in UNIX-style even though it's on the windows platform).
Otherwise, I'd say you have a major problem, because I've always been able to view these things in text editors...
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
gbenn
PostPosted: Tue Jul 30, 2002 12:12 pm    Post subject: Reply with quote

Novice

Joined: 19 Jul 2002
Posts: 12
Location: Ann Arbor, Michigan USA

Well, I think I have a major problem. I tried opening the file with Wordpad, Word, and Ultra-Edit 32 and all of them gave me the same garbage as Notepad. Is there some step I'm missing? I just go to the C:\Program Files\MQSeries\log\queue!manager!1\active directory and open the file: S0000002.LOG and it gives me garbage. For example:

   AMQLOG   ÈF=ÈF=ÈF=  h
Back to top
View user's profile Send private message Send e-mail MSN Messenger
mgrabinski
PostPosted: Tue Jul 30, 2002 9:38 pm    Post subject: MQ logs Reply with quote

Master

Joined: 16 Oct 2001
Posts: 246
Location: Katowice, Poland

Hi!

Brandon, I think that "gbenn" had MQSeries recovery logs in mind. They are binary and cannot be read by a text editor. Your suggestion is true for MQSeries errors logs. They are located in .../qmgrs/<QMgrName>/Errors. They are text and can be viewed by any text editor.

Just my 2 cents
_________________
Marcin Grabinski <><
Back to top
View user's profile Send private message
nimconsult
PostPosted: Tue Jul 30, 2002 10:06 pm    Post subject: Reply with quote

Master

Joined: 22 May 2002
Posts: 268
Location: NIMCONSULT - Belgium

You cannot read them directly as they are binary files.

You can format them into a readable format using the command "dmpmqlog".
_________________
Nicolas Maréchal
Senior Architect - Partner

NIMCONSULT Software Architecture Services (Belgium)
http://www.nimconsult.be
Back to top
View user's profile Send private message Send e-mail Visit poster's website
gbenn
PostPosted: Wed Jul 31, 2002 3:51 am    Post subject: Reply with quote

Novice

Joined: 19 Jul 2002
Posts: 12
Location: Ann Arbor, Michigan USA

Nimconsult,

I tried using that "dmpmqlog" command earlier but when I did it just gave me:

C:\>dmpmqlog
AMQ7701: DMPMQLOG command is starting.
AMQ7718: DMPMQLOG command is using a default of 'queue.manager.1' for the queue
manager name.
AMQ7005: The queue manager is running.
AMQ7716: DMPMQLOG command has finished unsuccessfully.

I used the -m to specify the queue manager. It's in the default install directory, do I need to use the -f to specify the file location?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
bduncan
PostPosted: Wed Jul 31, 2002 8:49 am    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

Ahh, yes, I thought you were referring to the queue manager logs, not the recovery logs. whoops...
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
nimconsult
PostPosted: Wed Jul 31, 2002 9:55 pm    Post subject: Reply with quote

Master

Joined: 22 May 2002
Posts: 268
Location: NIMCONSULT - Belgium

gbenn,

That's one of the multiple issues of dmpmqlog: your queue manager must be stopped to run the command!

In addition to this is issue, my wish-list for dmpmqlog is also:
- filter output for a specific queue, or specific transaction.
- find a message.
- produce a formatted output reusable for "replay" commands.

This is for MQ v6? Can we hope?
_________________
Nicolas Maréchal
Senior Architect - Partner

NIMCONSULT Software Architecture Services (Belgium)
http://www.nimconsult.be
Back to top
View user's profile Send private message Send e-mail Visit poster's website
gbenn
PostPosted: Thu Aug 01, 2002 4:41 am    Post subject: Reply with quote

Novice

Joined: 19 Jul 2002
Posts: 12
Location: Ann Arbor, Michigan USA

Yeah, I soon figured that out. I agree with your wishes too. My log file was 256 pages in length and filled with hexidecimal refs and other data that just doesn't format well when displayed on the screen or sent to a DOS file with '>'. I wish there was a way I could filter out everything but a particular queue's access to see its activity exclusively.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Log Files
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.