Configuring Logging

From: emre.yilma..tr.com.tr
Date: Wed Apr 26 2006 - 06:40:14 EDT

  • Next message: I. Venuti: "How to express "column is null""

    Hi,

    I set the below parameters but logging not changed. How can I stop the cayenne logging?

    java.net.URL url = DbObject.class.getResource("resources/cayenne/mssql/cayenne-log.properties");
    org.objectstyle.cayenne.conf.Configuration.configureCommonLogging(url);
    --------------------------------------
    log4j.rootLogger=ERROR, A1
    log4j.appender.A1=org.apache.log4j.ConsoleAppender
    log4j.appender.A1.layout=org.apache.log4j.PatternLayout
    log4j.appender.A1.layout.ConversionPattern=cayenne %-5p [%t %d{MM-dd HH:mm:ss}] %c{1}: %m%n
    log4j.logger.org.objectstyle.cayenne.access.QueryLogger =ERROR
    log4j.logger.org.objectstyle.cayenne.access.QueryLogger = ERROR
    log4j.logger.org.objectstyle.cayenne.access.QueryLogger = ERROR
    log4j.logger.org.objectstyle.cayenne.conf = ERROR
    log4j.logger.org.objectstyle.cayenne.util = ERROR
    ----------------------------------------



    This archive was generated by hypermail 2.0.0 : Wed Apr 26 2006 - 06:40:13 EDT