Berin Loritsch,

I have a Target which writes to log file. Now, I would like to have another
Target to write to database. To create a target to write to database, I have
to create a DefaultJDBCTarget or NormalizedJDBCTarget object. If it's
correct, than I have to create an array of ColumnInfo and pass this array to
DefaultJDBCTarget or NormalizedJDBCTarget's constructor . My problem is how
to map the information available at that time (for example: priority, time,
context:*, message .etc...) to each column in my table.


Thanks a lot.

Liem



List:     avalon-users <?l=avalon-users&r=1&w=2> 
Subject:  Re: Need help on Avalog's Logkit
From:     Berin Loritsch <bloritsch () apache ! org>
<?a=97810179100002&r=1&w=2> 
Date:     2003-09-22 20:55:46
<http://marc.theaimsgroup.com/?l=avalon-users&r=1&b=200309&w=2> 
[Download message RAW <?l=avalon-users&m=106426414929097&q=raw> ]

NGUYEN LIEM (APP1LXN) wrote:

>>Hi there,
>>
>>Do you have any sample or document about Avalon's Logkit, specially when
>>Log target write to a database (DefaultJDBCTarget, NormalizedJDBCTarget
>>??) . 
>>
>>Thanks a lot,
>>
>>Liem.
> 
> 

There are only some demo applications and such to my knowledge.

Essentially, your database must have the tables defined by the SQL script
in the application.  Beyond that, I need to know exactly what problems
you are having with it.


-- 

"They that give up essential liberty to obtain a little temporary safety
  deserve neither liberty nor safety."
                 - Benjamin Franklin


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Configure <?q=configure>  | About MARC <?q=about>  | Support MARC <?q=about>
| Got a list to add? <mailto:[EMAIL PROTECTED] a list to
MARC>  | 10East <http://www.10East.com/>  is Hiring!
<http://www.10East.com/?sect=employment>  

Reply via email to