Thursday, 18 June 2015

WebSphere MQ Logs - wherefore are thou ?

Following on from an earlier post about IBM Integration Bus: -


I'd learned where WebSphere MQ keeps its logs, leastways in the world of Unix, way back when.

On my own VMs, running Red Hat Enterprise Linux, WebSphere MQ version 8.0 keep the logs for any given Queue Manager here: -

/var/mqm/qmgrs/[QMNAME]/errors

namely: -

ls -al /var/mqm/qmgrs/IB9QMGR/errors

total 292
drwxrws---  2 mqm mqm   4096 Jun 10 20:38 .
drwxrwsr-x 22 mqm mqm   4096 Jun 17 21:28 ..
-rw-rw----  1 mqm mqm 283303 Jun 17 21:28 AMQERR01.LOG
-rw-rw----  1 mqm mqm      0 Jun 10 20:38 AMQERR02.LOG
-rw-rw----  1 mqm mqm      0 Jun 10 20:38 AMQERR03.LOG

noting that the primary log - AMQERR01.LOG - is the main one: -

cat /var/mqm/qmgrs/IB9QMGR/errors/AMQERR01.LOG 

...
-------------------------------------------------------------------------------
17/06/15 21:28:36 - Process(72587.1) User(wmbadmin) Program(amqfqpub)
                    Host(bpmdemo.uk.ibm.com) Installation(Installation1)
                    VRMF(8.0.0.2) QMgr(IB9QMGR)
                   
AMQ5806: Queued Publish/Subscribe Daemon started for queue manager IB9QMGR.

EXPLANATION:
Queued Publish/Subscribe Daemon started for queue manager IB9QMGR.
ACTION:
None.
-------------------------------------------------------------------------------
17/06/15 21:28:36 - Process(72594.1) User(wmbadmin) Program(runmqchi)
                    Host(bpmdemo.uk.ibm.com) Installation(Installation1)
                    VRMF(8.0.0.2) QMgr(IB9QMGR)
                   
AMQ8024: WebSphere MQ channel initiator started.

EXPLANATION:
The channel initiator for queue SYSTEM.CHANNEL.INITQ has been started.
ACTION:
None.
-------------------------------------------------------------------------------

...

However, on Windows, the path is subtly different.

I dug around, and found them here: -

C:\ProgramData\IBM\MQ\qmgrs\[QMNAME\errors

albeit with the same naming convention and primacy.

Again, this is for MQ 8.

This may help ALTHOUGH it does only reference MQ versions prior to 7.5, and suggests: -

...
The WebSphere MQ for Windows error logs are located in the following directories. 
This is the default directory path, however it may have been changed at install time. 

c:\Program Files\IBM\WebSphere MQ\errors 
c:\Program Files\IBM\WebSphere MQ\qmgrs\<queueManagerName>\errors 
c:\Program Files\IBM\WebSphere MQ\qmgrs\@SYSTEM\errors (not used at V6 and higher
...



No comments: