Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
AW: RE : RE : About to write a "DatabaseLogger " - any advice ?

AW: RE : RE : About to write a "DatabaseLogger " - any advice ?

2003-03-19       - By Jan.Materne@(protected)

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@(protected)]
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@(protected) [mailto:Jan.Materne@(protected)]
Envoy? : mercredi 19 mars 2003 11:01
? : user@(protected)
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@(protected)]
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@(protected)]
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@(protected)
For additional commands, e-mail: user-help@(protected)

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.