Author |
Message
|
ethirajesh |
Posted: Mon Jan 24, 2011 11:13 pm Post subject: Where to check the logs in UNIX for MB |
|
|
Apprentice
Joined: 04 Oct 2010 Posts: 46
|
Hi Friends,
I have set the Trace Node property "Destination : Local error log". I am able to check the logs in Windows Event viewer. I need to deploy the same bar file into UNIX region and make it run there. In which directory we will be able to see the logs in UNIX region?
Earlier i had Trace Node property "Destination : User Trace" and I was able to see logs generated under this directory : /var/mqsi/common/log.
Thanks
Rajesh Ethiraj |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Jan 24, 2011 11:55 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
The location of the broker event logs totally depends upon how you have your Unix system syslog configured.
Look in the inforcentre for details on this. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Jan 25, 2011 2:39 am Post subject: Re: Where to check the logs in UNIX for MB |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
ethirajesh wrote: |
Earlier i had Trace Node property "Destination : User Trace" and I was able to see logs generated under this directory : /var/mqsi/common/log. |
Yes. You should not be reading those files. Those are internal, binary files.
You should only read those with mqsireadlog.
And the data for a "Destination:User Trace" would only be logged to those files if you had enabled User Trace, which will slow performance down anyway, so you should not have left this turned on. |
|
Back to top |
|
 |
ethirajesh |
Posted: Fri Jan 28, 2011 8:47 am Post subject: |
|
|
Apprentice
Joined: 04 Oct 2010 Posts: 46
|
I checked under /var/log/messages. There m seeing the logs generated as below :
(WMQDQM06_BK.WMQDQM06_SIH)[16]BIP3051E: Error message '( ['MQROOT' : 0x13ea0c80]: WMQDQM06_BK.ae9ca9a8-2d01-0000-0080-9839ee2d8990: /build/S700_P/src/DataFlowEngine/ImbTraceNode.cpp: 480: ImbTraceNode::writeToLog: ComIbmTraceNode: SIGNBATCH_REPRINT_GETDETAILS#FCMComposite_1_8.SIGNBATCH_REPRINT_ERROR_HANDLING#FCMComposite_1_2
But when i run in windows it is giving as expected(snippet given below) :
.........................................
.........................................
.........................................
.........................................
'SIH.REPRINT.BATCH' (CHARACTER)
(0x03000000:PCDataField):MessageFlow = 'SIGNBATCH_REPRINT_GETDETAILS' (CHARACTER)
(0x03000000:PCDataField):MessageId = X'414d5120574d515445535430312020204f40424d20003308' (BLOB)
(0x03000000:PCDataField):ErrorSeverity = 3 (INTEGER)
(0x03000000:PCDataField):ErrorCategory = 'DatabaseException' (CHARACTER)
(0x03000000:PCDataField):ErrorText = 'DatabaseException --Child SQL exception--[IBM][CLI Driver][DB2] SQL0470N The user defined routine "2" (specific name "2") has a null valu
.........................................
.........................................
.........................................
Can you please let me know is this a standard in Unix, if yes how to get the error description as coming in Windows? |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jan 28, 2011 9:04 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
ethirajesh wrote: |
Can you please let me know is this a standard in Unix, if yes how to get the error description as coming in Windows? |
Your OP referred to to a Trace node, this is an exception and what looks like a system generated one. If you were to produce anything like this it would be with a Throw node not a Trace. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|