Package org.apache.log4j.receivers.db

The org.apache.log4j.db package provides means to append logging events into various databases.

See: Description

Package org.apache.log4j.receivers.db Description

The org.apache.log4j.db package provides means to append logging events into various databases. The persisted data can be later read back using DBReceiver.

Most popular database systems, such as PostgreSQL, MySQL, Oracle, DB2 and MsSQL are supported.

Just as importantly, the way for obtaining JDBC connections is pluggable. Connections can be obtained through the traditional way of DriverManager, or alternatively as a DataSource. A DataSource can be instantiated directly or it can obtained through JNDI.

Copyright © 2015 The Apache Software Foundation. All rights reserved.