|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Anyone using IA0Y - CircularLogNode plugin with WBIMB V5 ?? |
« View previous topic :: View next topic » |
Author |
Message
|
RatherBeGolfing |
Posted: Fri Jan 20, 2006 10:59 am Post subject: Anyone using IA0Y - CircularLogNode plugin with WBIMB V5 ?? |
|
|
 Centurion
Joined: 12 Nov 2002 Posts: 118 Location: Syracuse, NY, USA
|
We're looking at this support pack to handle trace files more automatically, but see that it is still at version 1.0, with install and use directions geared to V2.1 users.
Has anyone installed it with V5.0 ? Or, is there another way to automatically control the size of trace files (yes, in production)?
Thanks in advance! _________________ Cheers,
Larry
MQ Certifiable |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jan 20, 2006 11:07 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
If you're on unix, you can maybe point your trace file at a pipe that will handle the circular logging for you.
There are also probably hundreds of programs out there that will read an entire file, copy the contents to another file, and then blank the original file (without deleting it).
It should be pretty easy to write such a thing in Perl, among other languages. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
RatherBeGolfing |
Posted: Fri Jan 20, 2006 11:23 am Post subject: |
|
|
 Centurion
Joined: 12 Nov 2002 Posts: 118 Location: Syracuse, NY, USA
|
Sorry I didn't mention....I'm running on Windows 2003 machines. Also, we've noticed that when the Exec Groups are running, they hold locks on the trace files....so we can't purge them unless we stop the broker service... _________________ Cheers,
Larry
MQ Certifiable |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jan 20, 2006 11:59 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You can't delete them, no.
But, for example, Notepad can erase the contents manually. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
RatherBeGolfing |
Posted: Fri Jan 20, 2006 12:19 pm Post subject: |
|
|
 Centurion
Joined: 12 Nov 2002 Posts: 118 Location: Syracuse, NY, USA
|
And then the problem was that the files became so large that they couldn't actually be opened in Notepad!!!
We're working with the developers to ensure more intelligent tracing, however now we're facing SOX requirements to "save everything" and trace nodes are looking like a possible solution....hopefully it won't fall out that way...still in the design stages. _________________ Cheers,
Larry
MQ Certifiable |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jan 20, 2006 12:28 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
My point about Notepad was that programs that ignore the locking can overwrite the file handle with empty data. Thus resetting the file size.
Thus, you can write a program that reads the file, echoing it into a circularly or linerally logged file, and empty the original file - as long as your program can ignore the locking.
Trace files in general are probably not what you want for logging. Write messages out to another queue, and have a flow that dumps the contents of that queue into a database. _________________ I am *not* the model of the modern major general. |
|
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
|
|
|
|