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 » WebSphere Message Broker (ACE) Support » Input to mqsireadlog

Post new topic  Reply to topic
 Input to mqsireadlog « View previous topic :: View next topic » 
Author Message
WBI_user
PostPosted: Tue Apr 08, 2008 5:28 am    Post subject: Input to mqsireadlog Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

We are running WMB V6 CSD5 on AIX

In /var/mqsi/common/log directory we noticed most of the trace.bin.0 files are empty except a couple of entries like this

PR123B1.2a7aeb65-1801-0000-0080-97ef3bdc18e8.userTrace.bin.0
with 64261 bytes
PR123B1.3eddea65-1801-0000-0080-97ef3bdc18e8.userTrace.bin.0
with 23453 bytes
We are not sure if these was a result of some problems. What we know from running user traces is we have to use mqsireadlog to get the file into xml format and then use mqsiformatlog to format the xml output.

I need some help on how to specify the input parameter to mqsireadlog to format the usertrace.bin.0 file.
I know that component name should probably be PR123B1 which is our broker. But what is the execution group name. I assume this is a user trace. If this is a service trace, thne what should be the subcomponent name?
Back to top
View user's profile Send private message
AkankshA
PostPosted: Tue Apr 08, 2008 8:18 pm    Post subject: Re: Input to mqsireadlog Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

WBI_user wrote:
What we know from running user traces is we have to use mqsireadlog to get the file into xml format and then use mqsiformatlog to format the xml output.



mqsireadlog is for retrieving the logs of execution group and writing them to a file and mqsiformatlog formats them

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/an07300_.htm
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
abhishekpreddy
PostPosted: Tue Apr 08, 2008 11:19 pm    Post subject: Reply with quote

Apprentice

Joined: 02 May 2007
Posts: 49

Hi ,

As per my knowledge , the Broker never writes any Trace logs files on its own , when you have the flows running in debug mode , you have to implicitly collect the logs using the mqsireadlog command , I am not sure how you get the logs files which you mentioned directly
Back to top
View user's profile Send private message
mqpaul
PostPosted: Wed Apr 09, 2008 2:36 am    Post subject: mqsireadlog works out which files it needs Reply with quote

Acolyte

Joined: 14 Jan 2008
Posts: 66
Location: Hursley, UK

The broker will write several files depending on user and service trace settings. You aren't expected to process those files directly (the mapping between the log file names and contents and broker components isn't trivial). The mqsireadlog program will work out which files it needs to read according to the parameters you pass and the broker configuration.

AFAIR, the broker doesn't spontaneously write user log or trace files, even if there are errors. It only writes them if you enable user or service trace levels greater than "NONE" with mqsichangelog or the toolkit. So if your files contain data, it's because someone asked the broker to collect it.

The "-e" execution group parameter is optional on mqsireadlog - if you omit it, it formats the log for all groups traced in the chosen broker. So something like:
Code:
mqsireadlog PR123B1 -f -o userTrace.xml
mqsireadlog -i userTrace.xml -o userTrace.txt

should format those trace files.

See the broker HelpCenter item "mqsireadlog command" for more details on its parameters.
_________________
Paul
Back to top
View user's profile Send private message
AJStar
PostPosted: Wed Apr 09, 2008 4:17 am    Post subject: Re: mqsireadlog works out which files it needs Reply with quote

Acolyte

Joined: 27 Jun 2007
Posts: 64

mqpaul wrote:
It only writes them if you enable user or service trace levels greater than "NONE" with mqsichangelog or the toolkit.

I guess you meant mqsichangetrace !!!
_________________
Regards
AJ
Back to top
View user's profile Send private message
WBI_user
PostPosted: Wed Apr 09, 2008 4:46 am    Post subject: Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

Thanks for all the responses. Since the broker will not write the file unless someone ask it it to do so, I think I can safely ignore the files. However I'll still to see if I can format them just for my own interest.
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 » WebSphere Message Broker (ACE) Support » Input to mqsireadlog
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.