tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Tomcat JDBC Connection Pool - Stand Alone Logging
Date Thu, 16 Feb 2017 20:22:09 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Chris,

On 2/16/17 1:08 PM, Chris Keilitz wrote:
> I'm assuming, once configured properly, the Tomcat JDBC connection
> pool would output log messages. Unfortunately, I currently get no
> console or file output...even after trying numerous
> logging.properties changes.

Specifically? Would you mind sharing your configuration? Also, where
is your logging.properties file located, and what is the search path
of your class loader?

> I'm hoping for a little help to understand the proper way to
> configure a stand alone usage of Tomcat JDBC.

Having the tomcat-juli.jar library around plus a logging.properties
file should be sufficient. You may have conflicting logging.properties
files available to the classloader.

- -chris

> On Thu, Feb 16, 2017 at 12:58 PM, Christopher Schultz < 
> chris@christopherschultz.net> wrote:
> 
> Chris,
> 
> On 2/16/17 12:26 PM, Chris Keilitz wrote:
>>>> I've implemented Tomcat JDBC connection pool stand-alone,
>>>> outside of Tomcat or any app server or container and cannot
>>>> get the Juli logging working - console or file.   The
>>>> connection pool works great, but I cannot get the logging
>>>> going.  I've added CATALINA_HOME to the local directory and
>>>> have added logging.properties file to the local lib and .conf
>>>> directories, but still cannot get it to work.
>>>> 
>>>> I know I'm missing something....hoping one of you can me
>>>> understand what I'm doing wrong, could try.
> 
> When you say that the logging doesn't work, what exactly do you
> mean?
> 
> "Adding CATALINA_HOME to the local directory" doesn't clarify
> anything.
> 
> -chris
>> 
>> ---------------------------------------------------------------------
>>
>> 
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>> 
>> 
> 
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJYpgnxAAoJEBzwKT+lPKRY25kP/3OAnsBtLbqEEvLS7w5g500I
i/t/BemhQHtlbU/ZGOg03zY5fxz0W9UqOcHMH5fwzZhq+eZZGf2pyCrGUkbdUCvf
Xgxl9A5rXPE6paSIbCZh1tkttRhxeHvMun1rp+WRMvN9FOsdJ483ehEKRdjD4u4x
iGsEqXC4g3u6Hu1TWppKlag/rWT1WTXot7hpwFaOsNFNI8LChIKBnuWlc75S5AKU
xIcTWF1jRSX08L3SIFcLpCaOZ0O3F8128Dt1O4PwicOFe4oGg8vRI5qOE+38/Tj+
VjbXKsTAampybHbdrNd9aaSqt7/5d1xVtEeOgdvqpNMDepJchptobBBF6zDpD1TF
4ZEB61ZPAyG7tw9CwzMdvCylWhDXI/poeQf6M/h52n6DGqC4rShm9SR4u3W7VGWt
Pez+2NG+KWenLn26R8abjj/WBJbYWsKIhgpxWRK3nQbT6D4P4tuDdHgZN3qO5I+s
va5LXwhEoersiRFD72rekatPdtBOkprWPPZUDU4NqbthBTfbzH5oQVlczyHT+OAg
GD/fw4m6aDw1nvHwVLM5HZAOpaSDByqdU9lajXyeARch8/+NXVokGZHmho2hyAOQ
klRP1xrY/p07I4POLkf9DdO5QB1aJyOtRecTQd1971hXO+dR4/CV3UT5SjzwA7Db
WCCdYHuGam5tWyQkqAdV
=fEZ+
-----END PGP SIGNATURE-----

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


Mime
View raw message