You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by Dan Morgan <dm...@ihomefinder.com> on 2008/04/04 18:59:26 UTC

Cayenne 1.2 DBCP logging

When using the DriverDataSourceFactory I'm able to configure log4j logging using the following:

log4j.logger.org.objectstyle.cayenne.access.QueryLogger = INFO
to see all the SQL statements, response, etc.

When using the DBCPDataSourceFactory however nothing is displayed.

Is there additional information on how to configure log4j so that the SQL will be logged when using DBCP?

Thanks,

Daniel L. Morgan
EMail      : <dm...@ihomefinder.com>>




RE: Cayenne 1.2 DBCP logging

Posted by Dan Morgan <dm...@ihomefinder.com>.
Never mind - my bad.

-----Original Message-----
From: Dan Morgan [mailto:dmorgan@ihomefinder.com]
Sent: Friday, April 04, 2008 9:59 AM
To: user@cayenne.apache.org
Subject: Cayenne 1.2 DBCP logging

When using the DriverDataSourceFactory I'm able to configure log4j logging using the following:

log4j.logger.org.objectstyle.cayenne.access.QueryLogger = INFO to see all the SQL statements, response, etc.

When using the DBCPDataSourceFactory however nothing is displayed.

Is there additional information on how to configure log4j so that the SQL will be logged when using DBCP?

Thanks,

Daniel L. Morgan
EMail      : <dm...@ihomefinder.com>>