ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: RE : RE : About to write a "DatabaseLogger" - any advice ?
Date Wed, 19 Mar 2003 10:44:23 GMT
Ok, send an email to me if you want to have mine.


Jan Matèrne

-----Ursprüngliche Nachricht-----
Von: ALIA-SC, David [mailto:David.ALIA-SC@AirLiquide.com]
Gesendet am: Mittwoch, 19. März 2003 11:11
An: Ant Users List
Betreff: RE : RE : About to write a "DatabaseLogger" - any advice ?

Jan,

It couldn't be better :-)
I'll first watch the overall solution (Log4j + JDBC appender -yours ?) and
make a decision on how to do it.
Thanks a lot

David

-----Message d'origine-----
De : Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] 
Envoyé : mercredi 19 mars 2003 11:01
À : user@ant.apache.org
Objet : AW: RE : About to write a "DatabaseLogger" - any advice ?


I have written a JDBCAppender where you can configure the insert-statement,
a create-statement (multiple seperated by ';'), and how to get the
connection (set url,user,pwd
+ factory + jndi) .
In one configuration I create a table AND a sequence on oracle. The insert
statement uses the sequence.next for generating a primary key.


I can give it to you (mmhh I should send it log4j group ...)



Jan Matèrne


-----Ursprüngliche Nachricht-----
Von: ALIA-SC, David [mailto:David.ALIA-SC@AirLiquide.com]
Gesendet am: Mittwoch, 19. März 2003 10:55
An: Ant Users List
Betreff: RE : About to write a "DatabaseLogger" - any advice ?

Thanks for your advice Bill and Erik, I'll try first to check this
opportunity...

David

-----Message d'origine-----
De : Bill Burton [mailto:billb@progress.com] 
Envoyé : mardi 18 mars 2003 17:45
À : Ant Users List
Objet : Re: About to write a "DatabaseLogger" - any advice ?


Hello,

ALIA-SC, David wrote:
> Hi,
> 
> I'm about to write another logger, that inserts into a database each
> action (I need it for precise reporting).

Log4J (http://jakarta.apache.org/log4j) interfaces with Ant and has a 
JDBC Appender.  It may not do exactly what you want but could be a good 
place to start.

-Bill


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message