Re: Can I disable SELECT logging?

From: Aristedes Maniatis (ar..sh.com.au)
Date: Thu Mar 06 2008 - 17:36:02 EST

  • Next message: Andrus Adamchik: "Re: Can I disable SELECT logging?"

    On 07/03/2008, at 8:10 AM, Scott Anderson wrote:

    > Is there a way to tell Cayenne to log only INSERT, UPDATE, and DELETE
    > operations? In the production database, we have triggers that record
    > each row-level change in a shadow table, and I want to profile my code
    > to keep these operations to a minimum, but it's hard to do with 90% of
    > the console output displaying SELECT queries.

    If you are running Cayenne 3 you can use lifecycle events to do this.

    Ari Maniatis

    -------------------------->
    ish
    http://www.ish.com.au
    Level 1, 30 Wilson Street Newtown 2042 Australia
    phone +61 2 9550 5001 fax +61 2 9550 4001
    GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A



    This archive was generated by hypermail 2.0.0 : Thu Mar 06 2008 - 17:36:49 EST