Author |
Message
|
smdavies99 |
Posted: Mon Jan 24, 2011 5:03 am Post subject: Separate wmbevent.log files |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
I guess the answer is problably no but here goes:-
If you have a Unix/Linux server that is running multiple brokers, is there any way to get the events for each broker sent to different logfile.
If it even more important if you are running V7.0.0.x alongside say 6.1.0.8.
I know I could filter them with a simple grep but it would be nice to get them separated out if possible. _________________ 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: Mon Jan 24, 2011 5:18 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Jan 24, 2011 5:23 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Hi smdavies. On Unix, all messages written to Syslog are also written to the respective broker's individual log. Rather than view Syslog, you can go to the path log directory and view that log which only has messages for that particular broker. By default (can be overridden at Broker creation time), this is /var/mqsi/components/broker_name . Good luck. Lance _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Jan 24, 2011 5:31 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
I'm not sure that's correct... just looking at a v7 install lying around on AIX, and there isn't a log file in /var/mqsi/components/<broker>. There's just a set of directories.
There is a stdout and stderr file in /var/mqsi/components/<broker>/<EG UUID>... is that what you mean?
But there's one of those for each EG, not for the broker as a whole. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Jan 24, 2011 5:34 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
I dont have an AIX image available at this moment (right now, we're on z/OS here.), maybe its above that in /var/mqsi. The essential info is that the same messages written to Syslog are also written to a local log. We just need to find the right directory. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
jugo |
Posted: Mon Jan 24, 2011 7:04 am Post subject: |
|
|
Novice
Joined: 17 Nov 2009 Posts: 13
|
You are both right: the logging on z/OS is quite different to UNIX platforms. As lancelotinc says, on z/OS each broker has its own log. However as mqjeff says that is not the case on UNIX or Windows. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jan 24, 2011 7:25 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
jugo wrote: |
You are both right: the logging on z/OS is quite different to UNIX platforms. |
Everything on z/OS is different to a Unix platform, except in the most general terms.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|