tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurélien Terrestris <aterrest...@gmail.com>
Subject Re: Tomcat JDBC Connection Pool - Stand Alone Logging
Date Thu, 16 Feb 2017 20:16:19 GMT
What database are you connecting to ? Oracle ? MySQL ? If Oracle, then
you're probably using its specific driver, and there is a debug version
(the "_g" version) that logs.

According to you, what kind of log the Tomcat driver should write ?

2017-02-16 19:08 GMT+01:00 Chris Keilitz <keilitz@gmail.com>:

> 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.
>
> I'm hoping for a little help to understand the proper way to configure a
> stand alone usage of Tomcat JDBC.
>
> On Thu, Feb 16, 2017 at 12:58 PM, Christopher Schultz <
> chris@christopherschultz.net> wrote:
>
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA256
> >
> > 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
> > -----BEGIN PGP SIGNATURE-----
> > Comment: GPGTools - http://gpgtools.org
> > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
> >
> > iQIcBAEBCAAGBQJYpehVAAoJEBzwKT+lPKRYRIIQAL252B1PA+RdmD0kvxi4XGQw
> > 1nkfbUpLy3qnZlejj4AMxNZCmNsgxzSVKsuseZXSltiCvsidbuS1VJb+aZ6qI/mC
> > FaDdrORqA5MJ5JQxCBKF0KHNvm4/P8+7XLW7S0m+CCSUsJ6S4yUfq8soV+giM6vD
> > I3tEMfQscMnkj3wTzWqKKwY4rs6YJ+ILerwclGmMB1rtpO9lwGFBTj2p2M0NwPav
> > 9P7LESiUtZGaJMxlS+QFJW+u8xPqQTkQV2xf5ZVbeMZfKqtD14FWrgMzrlRyo27P
> > 0IhK1qs2I1EdWzPT7O2xEWpcKC9b6P2+su5YIjS4xwDOF9dsSBZfBLgKXhrm8gDf
> > JI+d0xgC80PzDZfQwv/Spo0J9U4sGPUp9+tTRjI4Ub8M8z4xG/gssNw7eG8RCOfU
> > NYIK/POB9QPTukUKyEPMXr/DYC7W3b0RP0yjH/yk+hcp3H3Iok/4GVoey8ydhYlT
> > fI5P7oq1FNXFVoupMEv77eqlzCc6V7CU0idMhjnSjM5Zoio9r+kbONg5oHDBlSDA
> > yXbPcDPORr+qux6hf73HK8kNH5ae059aF9T8lGC+uW5EyY4YAgQfrhle/3xk+Jub
> > sGeM8gpVt9eozlNFyZ4LqTXXNtBHzpw5LCTQa1TWS8UQm703+/0DxZmf0EgZwEn5
> > pN0ov1UkJ4tcT7DA7E0w
> > =Xqes
> > -----END PGP SIGNATURE-----
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >
>

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