Posted: Thu Aug 21, 2008 4:51 am Post subject: Trace node -pattern property
Newbie
Joined: 08 Aug 2008 Posts: 5
HI friends,
i'm using trace node in my flow and my wmb version is 6.1. I want very costomized log file. the trace file/log file created by trace node should be in below pattern
sdgl 1 2007-05-17 16:27:48 I X1500 -------------------------------------------------------------------------------
sdgl 1 2007-05-17 16:27:48 I X1520 Start of application
sdgl 1 2007-05-17 16:27:48 I X1500 -------------------------------------------------------------------------------
sdgl 1 2007-05-17 16:48:15 I S23360 Following events processed in last 00:20:00 duration
sdgl 1 2007-05-17 16:48:15 I S23300 Total Number of Events Processed:69755
sdgl 1 2007-05-17 16:48:15 I S23310 Total Number of Events Replicated:392
sdgl 1 2007-05-17 16:48:15 I S23320 Total Number of Events NotFound:32876
sdgl 1 2007-05-17 16:48:15 I S23330 Total Number of Events Optimized:36487
sdgl 1 2007-05-17 16:48:15 I S23340 Total Number of Events Discarded:0
sdgl 1 2007-05-17 16:48:15 I S23350 Total Number of Events Remaining in the queue:565430
sdgl 1 2007-05-17 17:08:19 I S23360 Following events processed in last 00:20:00 duration
sdgl 1 2007-05-17 17:08:19 I S23300 Total Number of Events Processed:6841
sdgl 1 2007-05-17 17:08:19 I S23310 Total Number of Events Replicated:760
sdgl 1 2007-05-17 17:08:19 I S23320 Total Number of Events NotFound:6081
sdgl 1 2007-05-17 17:08:19 I S23330 Total Number of Events Optimized:0
sdgl 1 2007-05-17 17:08:19 I S23340 Total Number of Events Discarded:0
is there any way to achive it throgh trace node?
if so please tell me.
The problem you might have is outputting the start of the application and determining the number of messages remaining on the queue. Other than that, I think you could do the rest with a combination of the trace node, some long lived variables (see http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/topic/com.ibm.etools.mft.doc/ak35120_.htm for details) and a timer node to fire every 20 seconds and output/reset the contents of the long lived variables. _________________ Regards
John
The pain of low quaility far outlasts the joy of low price.
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