There real unfortunate part with regard to log4j is the actual manual
has to be purchased. The site docs are horribly lacking.
Having said that ... I suspect because the DBCP pool is created by
tomcat in tomcat's internal code, it has a different log factory
instance and as a result, a different config and different file to
output to. Altering tomcat's conf/logging.properties will probably be
more effective in getting debug output for tomcat's DBCP.
--David
Christopher Schultz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
John,
Katilie, John wrote:
| Chris, 1st I tried adding log4j.properies [...]
I use log4j, and have it correctly configured to use log4j in my
application, so I added:
log4j.category.org.apache.tomcat.dbcp=ALL
to my log4j.properties file, and that does not seem to have added
anything to my logs. Perhaps it's because DBCP is loaded by TC before my
webapp, so it's using a differently-configured logger.
I'll keep looking.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkhZXyAACgkQ9CaO5/Lv0PCmZACfba4TzsEq5LPCtwXirWZmJNJz
nCYAoMIL24Rrb4inEGuCT41ynUC/7t83
=upFT
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
David Smith
Network Operations Supervisor
Department of Entomology
Cornell University
2132 Comstock Hall
Ithaca, NY 14853
Phone: (607) 255-9571
Fax: (607) 255-0940
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]