Re: Remove SQL logging in M2 or M3

From: Kevin Menard (kmenar..ervprise.com)
Date: Tue Feb 05 2008 - 11:32:47 EST

  • Next message: Andrus Adamchik: "Re: Remove SQL logging in M2 or M3"

    How are you bootstrapping your log4j configuration? I have something like
    the following before creating a DC:

    org.apache.log4j.PropertyConfigurator.configure(getClass().getResource("/log
    4j.properties"));

    -- 
    Kevin
    

    On 2/5/08 11:29 AM, "Alexander Lamb (dev)" <alam..ac.com> wrote:

    > Hello List, > > I don't seem to be able to stop Cayenne log all the SQL (3.0M2 or M3). > > I have the following in my log4j.properties, but it doesn't seem to be > taken into account! > > log4j.category.org.apache.cayenne.access.QueryLogger = WARN > log4j.category.org.apache.cayenne.conf = WARN > log4j.category.org.apache.cayenne.util = WARN > > Thanks, > > Alex >



    This archive was generated by hypermail 2.0.0 : Tue Feb 05 2008 - 11:33:22 EST