Closed
Description
Currently the log4j-jdbc
appender has an optional dependency on log4j-jndi
.
In order to remove this optional dependency, I propose to:
- create a new module
log4j-jdbc-jndi
and depends onlog4j-jdbc
andlog4j-jndi
and contains theDataSourceConnectionSource
and inlined code fromJndiUtil
, - remove the dependency on
log4j-jndi
fromlog4j-jdbc
.
From a user perspective:
- most users will require just the
log4j-jdbc-dbcp2
module, - some Java EE/Jakarta EE users will require the
log4j-jdbc-jndi
module, - the
log4j-jdbc
module could be considered as an internal dependency.