commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kees de Kooter (JIRA)" <>
Subject [jira] Created: (DBCP-194) BasicDataSource.setLogWriter should not do createDataSource
Date Thu, 13 Jul 2006 15:00:29 GMT
BasicDataSource.setLogWriter should not do createDataSource

         Key: DBCP-194
     Project: Commons Dbcp
        Type: Bug

    Versions: 1.2 Final    
    Reporter: Kees de Kooter

The code for setLogWriter is:

    public void setLogWriter(PrintWriter logWriter) throws SQLException {
        this.logWriter = logWriter;

This means that before a custom log writer is set a datasource is created. Any logging happening
while creating the datasource is directed to stdout / stderr.

I think the purpose of setting a log writer is to prevent this, at least that is what I am
trying to achieve.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message