[ 
https://issues.apache.org/jira/browse/DBCP-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Thomas resolved DBCP-246.
------------------------------

    Resolution: Fixed

A dependency on Commons Logging has been added to DBCP 2.

At present it is limited to logging exceptions that would otherwise be 
swallowed by the Pooling implementation (Commons Pool 2).

The preferred way to monitor the state of the DBCP is via JMX but additional 
logging can be added as required. Any specific request for additional logging 
should be made via a new Jira issue.

> Logging For DBCP
> ----------------
>
>                 Key: DBCP-246
>                 URL: https://issues.apache.org/jira/browse/DBCP-246
>             Project: Commons Dbcp
>          Issue Type: Improvement
>    Affects Versions: 1.2.2
>         Environment: Java DBCP
>            Reporter: Madhusudan Pagadala
>             Fix For: 2.0
>
>
> Hi,
> I work in Operations, I feel that adding debug and info statements for this 
> commons-dbcp is very much helpful to debug the database connection problems 
> in production environment to the applications, its very useful for tuning the 
> connectioon pool parameters also, I got surprised how the logging is missing 
> to DBCP packages. Can I expect this to add in near releases.
> Thanks,
> Madhu.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to