logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fancing <xiaoning.z...@gmail.com>
Subject Fwd: is the org.apache.log4j.jdbc.JDBCAppender removed yet?
Date Wed, 28 Nov 2007 07:40:59 GMT
i configure my log4j.properties like the following:

log4j.appender.db=org.apache.log4j.jdbc.JDBCAppender
log4j.appender.db.URL=jdbc:mysql://172.16.100.103:3306/p2pdb
log4j.appender.db.user=uesr
log4j.appender.db.password=password
log4j.appender.db.sql=INSERT INTO log
VALUES(LAST_INSERT_ID(),%d,'%c','%p','%m')

And it doesn't work! nothing logged into the database but no error or
exception thrown ...

does Log4j support logging into database yet? how?
Thanks for reply!

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


Mime
View raw message