|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Logging mechanisms in WMB |
« View previous topic :: View next topic » |
Author |
Message
|
next |
Posted: Thu Feb 03, 2011 11:53 pm Post subject: Logging mechanisms in WMB |
|
|
Voyager
Joined: 02 May 2010 Posts: 75
|
Could anybody please suggest good logging mechanisms for huge volumes of data?!!
Regards,
Suresh. |
|
Back to top |
|
 |
smdavies99 |
Posted: Fri Feb 04, 2011 12:23 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
There are many possibilities so:-
1) Why? Who is going to read them? Who is going to use them and for what?
2) Now much data are talking about when you say huge. To some of us here, 1Million messages a day is the norm while to others, 1K per day is a busy day. _________________ 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 |
|
 |
fatherjack |
Posted: Fri Feb 04, 2011 1:19 am Post subject: |
|
|
 Knight
Joined: 14 Apr 2010 Posts: 522 Location: Craggy Island
|
smdavies99 wrote: |
There are many possibilities so:-
1) Why? Who is going to read them? Who is going to use them and for what?
2) Now much data are talking about when you say huge. To some of us here, 1Million messages a day is the norm while to others, 1K per day is a busy day. |
And 3) What exactly is it you want to log? _________________ Never let the facts get in the way of a good theory. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Fri Feb 04, 2011 6:50 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
If this is business data you are logging, then probably the database is the answer, to enable lookups.
If system events, then Syslog would be a great place to save it. Broker provides built-in methods for writing to Syslog (ie. MbService.logInformation).
If you don't want to use a database or Syslog, you could use a flat file. (Java FileWriter). If you don't want to manage disk space issues, use log4j's FileAppender.
Of course, I would use log4j directly and would not use the Support pac for reasons previously addressed on this forum. Others have differing opinions, which is fine by me. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|