permaculture playing cards*
The moose likes Tomcat and the fly likes log4j -best way to log to databse (or where is db.DBAppender if that's the best way)? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "log4j -best way to log to databse (or where is db.DBAppender if that Watch "log4j -best way to log to databse (or where is db.DBAppender if that New topic
Author

log4j -best way to log to databse (or where is db.DBAppender if that's the best way)?

John Landon
Ranch Hand

Joined: Sep 25, 2008
Posts: 227
Hi,
What is the best way to log to database with log4j. I went to jdbcappender but it seems to be bad (they are going to rewrite it).
So I went for org.apache.log4j.db.DBAppender but where is it? I downloaded the log4j jar but it's not there.
If this is the best way now then where is org.apache.log4j.db.DBAppender?
If not then what is the best way? Tutorial?

Thanks,
John
[ October 16, 2008: Message edited by: John Landon ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: log4j -best way to log to databse (or where is db.DBAppender if that's the best way)?
 
Similar Threads
Unable to locate a valid EngineConfigurationFactory
Ask log4j NOT to create an empty log file
Best Way to Use LOG4J
Multiple context logging JBoss-Tomcat
log4j tutorial