apache / apache/logging-log4j2

`ConnectionFactory` lacks a configuration option for closing the `DataSource`

Open
#3,141 2 comments 0 reactions 0 assignees View on GitHub
appenders:JDBC
Dominant language
Java
Stars
3.6k
Forks
1.7k
Avg merge
21h 30m
Merged PRs (30d)
27

Description

While the [`ConnectionFactory` connection source](https://logging.apache.org/log4j/2.x/manual/appenders/database.html#FactoryMethodConnectionSource) is the easiest way to implement custom connection sources, it currently does not provide an option to close the `DataSource`.

The closure of a `DataSource` created by `ConnectionFactory` must be done via external means.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.