Package org.apache.log4j.db
package org.apache.log4j.db
-
ClassDescriptionThe
ConnectionSourceinterface provides a pluggable means of transparently obtaining JDBCConnections for log4j classes that require the use of aConnection.Converts log data stored in a database into LoggingEvents.The DataSourceConnectionSource is an implementation ofConnectionSourcethat obtains the Connection in the recommended JDBC manner based on aDataSource.The DBAppender inserts loggin events into three database tables in a format independent of the Java programming language.The DriverManagerConnectionSource is an implementation ofConnectionSourcethat obtains the Connection in the traditional JDBC manner based on the connection URL.TheJNDIConnectionSourceis an implementation ofConnectionSourcethat obtains aDataSourcefrom a JNDI provider and uses it to obtain aConnection.