Can't enable SQL tracing:

From: Adrian (kadrianu..ahoo.com)
Date: Wed Jun 11 2003 - 10:56:25 EDT

  • Next message: Arndt Brenschede: "Re: Can't enable SQL tracing:"

    Hi...this is my cayenne-log.properties...I put it
    under \WEB-INF and under WEB-INF\classes...I know that
    a new log4j instance or thread is running because my
    application log output is being duplicated but with
    other conversion pattern...but the SQL queries are not
    printed nor in my neither on stdout...any hint about
    this problem?...Thx for your help...

    log4j.rootLogger=DEBUG, A1
    log4j.appender.A1=org.apache.log4j.ConsoleAppender
    log4j.appender.A1.layout=org.apache.log4j.PatternLayout
    log4j.appender.A1.layout.ConversionPattern="%d{ISO8601}
    - [SQL] %p: %m\n"

    #Configuration load tracing
    log4j.logger.org.objectstyle.cayenne.conf = DEBUG
    log4j.logger.org.objectstyle.cayenne.util = DEBUG

    # General Cayenne logging
    log4j.logger.org.objectstyle.cayenne = INFO

    #
    # GUI-related logging
    #

    # reduce Scope logging
    log4j.logger.org.scopemvc = DEBUG

    # set modeler to INFO
    #log4j.logger.org.objectstyle.cayenne.modeler = INFO

    #Query logger
    log4j.logger.org.objectstyle.cayenne.access.QueryLogger
    = DEBUG

    __________________________________
    Do you Yahoo!?
    Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
    http://calendar.yahoo.com



    This archive was generated by hypermail 2.0.0 : Wed Jun 11 2003 - 10:54:57 EDT