RE: Cayenne 1.2 DBCP logging

From: Dan Morgan (dmorga..homefinder.com)
Date: Fri Apr 04 2008 - 14:17:06 EDT

  • Next message: Andrus Adamchik: "Re: Driver+ClassLoader issue"

    Never mind - my bad.

    -----Original Message-----
    From: Dan Morgan [mailto:dmorga..homefinder.com]
    Sent: Friday, April 04, 2008 9:59 AM
    To: use..ayenne.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 : <dmorga..homefinder.com<mailto:dmorgan@ihomefinder.com>>



    This archive was generated by hypermail 2.0.0 : Fri Apr 04 2008 - 14:17:42 EDT