Registry / logging / log4jdbc

log4jdbc

JSON →
library1.2javamavenunverified

JDBC proxy driver for logging SQL and other interesting information.

<dependency> <groupId>com.googlecode.log4jdbc</groupId> <artifactId>log4jdbc</artifactId> <version>1.2</version> </dependency>
INSTALL
IMPORT
SIG · LOG4JDBC
L
log4jdbc
loggingjavav1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Log4jdbcProxyDataSource
net.sf.log4jdbc.Log4jdbcProxyDataSource

Wrap a DataSource with log4jdbc for SQL logging

import net.sf.log4jdbc.Log4jdbcProxyDataSource; import javax.sql.DataSource; public class QuickStart { public static void main(String[] args) { DataSource realDataSource = null; // Your real DataSource Log4jdbcProxyDataSource proxy = new Log4jdbcProxyDataSource(realDataSource); System.out.println("Proxy created: " + proxy); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
26
OpenAI (training)
1
Resources
log4jdbc — mvn dependency:get log4jdbc · libregistry