Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » some problems about CBE&GLA
some problems about CBE&GLA [message #21183] Wed, 06 July 2005 04:58 Go to next message
wang xiao qing is currently offline wang xiao qingFriend
Messages: 8
Registered: July 2009
Junior Member
Hi,all
I want to know how can I deal with the problem descripted following by
using Generic Log Adaptor.
As you know GLA uses sensor to read the log content for processing.then the
extractor takes a collection of input lines provided by the sensor and
separate these into message boundaries.In this stage ,we should define Start
Pattern and End Pattern to get a whole record item which may span several
lines and at the same time the format of this record is not regular.Follwing
is the demo format:

18cc2ec4 WC_INVENTORY d
5Ymw7jS%2fFk%2fizLNiz5nTIiCJ8W4%3d%0a
com.ibm.commerce.fulfillment.commands.ATPParameters.init ihsBackorder =
{6001=com.ibm.commerce.order.objects.OrderItemAccessBean@6095eee5}
18cc2ec4 WC_INVENTORY d
5Ymw7jS%2fFk%2fizLNiz5nTIiCJ8W4%3d%0a
com.ibm.commerce.fulfillment.commands.ATPParameters.init ihsReverse = {}
18cc2ec4 WC_INVENTORY d
5Ymw7jS%2fFk%2fizLNiz5nTIiCJ8W4%3d%0a
com.ibm.commerce.fulfillment.commands.ATPParameters.display
Order Items Lists

Merge : [] Remerge : [] Check : Allocate: Backorder :
Reverse : []

[5/30/05 17:49:11:984 GMT+08:00] 18cc2ec4 WC_ORDER >
5Ymw7jS%2fFk%2fizLNiz5nTIiCJ8W4%3d%0a
com.ibm.commerce.order.commands.OrderItemBaseCmdImpl.updateR esourceList
Entry
[5/30/05 17:49:11:984 GMT+08:00] 18cc2ec4 WC_ORDER d
5Ymw7jS%2fFk%2fizLNiz5nTIiCJ8W4%3d%0a
com.ibm.commerce.order.commands.OrderItemBaseCmdImpl.updateR esourceList Add
orderAB resource, id=1501
[5/30/05 17:49:11:984 GMT+08:00] 18cc2ec4 WC_ORDER <
5Ymw7jS%2fFk%2fizLNiz5nTIiCJ8W4%3d%0a
com.ibm.commerce.order.commands.OrderItemBaseCmdImpl.updateR esourceList Exit

here is the comments:each record item is starting with
"[5/30/05..........",so some of the items span several line.I find it is
hard for me to catch a whole item which spans several lines.
Re: some problems about CBE&GLA [message #24589 is a reply to message #21183] Tue, 02 August 2005 21:52 Go to previous message
Eclipse UserFriend
Originally posted by: nobody.nobody.com

Try specifying a Start Pattern that will match the timestamp. For example:

^\

You do not require an End Pattern in this case. If no End Pattern is
specified, the Extractor will determine the end of the record as the
character before the next Start Pattern match.


"wangxq" <xqwang@cn.ibm.com> wrote in message
news:dafoe1$7s4$1@news.eclipse.org...
> Hi,all
> I want to know how can I deal with the problem descripted following by
> using Generic Log Adaptor.
> As you know GLA uses sensor to read the log content for processing.then
the
> extractor takes a collection of input lines provided by the sensor and
> separate these into message boundaries.In this stage ,we should define
Start
> Pattern and End Pattern to get a whole record item which may span several
> lines and at the same time the format of this record is not
regular.Follwing
> is the demo format:
>
> 18cc2ec4 WC_INVENTORY d
> 5Ymw7jS%2fFk%2fizLNiz5nTIiCJ8W4%3d%0a
> com.ibm.commerce.fulfillment.commands.ATPParameters.init ihsBackorder =
> {6001=com.ibm.commerce.order.objects.OrderItemAccessBean@6095eee5}
> 18cc2ec4 WC_INVENTORY d
> 5Ymw7jS%2fFk%2fizLNiz5nTIiCJ8W4%3d%0a
> com.ibm.commerce.fulfillment.commands.ATPParameters.init ihsReverse = {}
> 18cc2ec4 WC_INVENTORY d
> 5Ymw7jS%2fFk%2fizLNiz5nTIiCJ8W4%3d%0a
> com.ibm.commerce.fulfillment.commands.ATPParameters.display
> Order Items Lists
>
> Merge : [] Remerge : [] Check : Allocate: Backorder :
> Reverse : []
>
> [5/30/05 17:49:11:984 GMT+08:00] 18cc2ec4 WC_ORDER >
> 5Ymw7jS%2fFk%2fizLNiz5nTIiCJ8W4%3d%0a
> com.ibm.commerce.order.commands.OrderItemBaseCmdImpl.updateR esourceList
> Entry
> [5/30/05 17:49:11:984 GMT+08:00] 18cc2ec4 WC_ORDER d
> 5Ymw7jS%2fFk%2fizLNiz5nTIiCJ8W4%3d%0a
> com.ibm.commerce.order.commands.OrderItemBaseCmdImpl.updateR esourceList
Add
> orderAB resource, id=1501
> [5/30/05 17:49:11:984 GMT+08:00] 18cc2ec4 WC_ORDER <
> 5Ymw7jS%2fFk%2fizLNiz5nTIiCJ8W4%3d%0a
> com.ibm.commerce.order.commands.OrderItemBaseCmdImpl.updateR esourceList
Exit
>
> here is the comments:each record item is starting with
> "[5/30/05..........",so some of the items span several line.I find it is
> hard for me to catch a whole item which spans several lines.
>
>
Previous Topic:Some problem about Generic Log Adaptor .
Next Topic:Newbie question about reading in xmi models
Goto Forum:
  


Current Time: Thu Mar 28 11:30:35 GMT 2024

Powered by FUDForum. Page generated in 0.02616 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top