You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Colin Ingarfield <co...@gmail.com> on 2012/03/19 20:50:55 UTC

how to enable debug logging for Tomcat jdbc pool (Tomcat 6.0.32)

Hello,

I'm using the new Tomcat jdbc pool (1.1.0.1) with Tomcat 6.0.32, Ubuntu
x86_64.  I would like to increase the logging from the pool to try and
chase down connection timeouts.

I added the following line to $CATALINA_BASE/conf/logging.properties:
org.apache.tomcat.jdbc.pool.level=FINE

(the rest of the logging.properties file is unchanged.)

But I don't see any pool debug logging output on the console.  I thought
this setting would enable debug logging for all classes in that package.
Is there something else I need to do?

Thank you,
Colin

RE: how to enable debug logging for Tomcat jdbc pool (Tomcat 6.0.32)

Posted by "Filip Hanik (mailing lists)" <de...@hanik.com>.
Define "connection timeouts" so that we can understand your problem to
suggest for how to trace it down.
What are you trying to search for. Errors would be logged as errors, and
should show up with the standard configuration

Filip

> -----Original Message-----
> From: Colin Ingarfield [mailto:colini98@gmail.com]
> Sent: Monday, March 19, 2012 1:51 PM
> To: users@tomcat.apache.org
> Subject: how to enable debug logging for Tomcat jdbc pool (Tomcat 6.0.32)
> 
> Hello,
> 
> I'm using the new Tomcat jdbc pool (1.1.0.1) with Tomcat 6.0.32, Ubuntu
> x86_64.  I would like to increase the logging from the pool to try and
> chase down connection timeouts.
> 
> I added the following line to $CATALINA_BASE/conf/logging.properties:
> org.apache.tomcat.jdbc.pool.level=FINE
> 
> (the rest of the logging.properties file is unchanged.)
> 
> But I don't see any pool debug logging output on the console.  I thought
> this setting would enable debug logging for all classes in that package.
> Is there something else I need to do?
> 
> Thank you,
> Colin


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: how to enable debug logging for Tomcat jdbc pool (Tomcat 6.0.32)

Posted by Konstantin Kolinko <kn...@gmail.com>.
2012/3/19 Colin Ingarfield <co...@gmail.com>:
> Hello,
>
> I'm using the new Tomcat jdbc pool (1.1.0.1) with Tomcat 6.0.32, Ubuntu
> x86_64.  I would like to increase the logging from the pool to try and
> chase down connection timeouts.

Where your "1.1.0.1" comes from?

It is not an official release.
Released versions of jdbc-pool come with Tomcat 7 and share its version numbers.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org