[ 
https://issues.apache.org/jira/browse/DBCP-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12891201#action_12891201
 ] 

Thomas Fischer commented on DBCP-246:
-------------------------------------

One possibility would be to use the java logger, see 
http://download.oracle.com/docs/cd/E17476_01/javase/1.4.2/docs/api/java/util/logging/package-frame.html
It does not require any additional libraries, because dbcp 1.3 requires java 
1.4 anyway. 

The java logger is not perfect as a logging choice in my opinion but it is far 
better than no logging. Plus people can use or write bridges to other logging 
frameworks.


> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to