commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Billy Bacon" <billy.ba...@gmail.com>
Subject Re: debug logging for dbcp
Date Wed, 24 Oct 2007 22:26:14 GMT
You should be able to use Log4j and specify the DBCP package you would like
to log in your log4j.properties file. Set the level for the
org.apache.commons.dbcp package to DEBUG and you should see everything (and
probably more than you want to see).

- Billy -

On 10/24/07, Raul Acevedo <raul@cantara.com> wrote:
>
> Is there a way to get DBCP to output any kind of debugging information?
> We have connections that are probably getting terminated by a firewall,
> but we're trying to figure out exactly what's happening.  All we know
> for certain is a call to getConnection() sometimes takes a really,
> really long time (like 20 minutes) before finally returning with a valid
> connection.
>
> Raul
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message