Logging Queries

From: McDaniel, Joe R. (mcdanij..igr.org)
Date: Thu Jun 09 2005 - 12:25:36 EDT

  • Next message: Andrus Adamchik: "Re: Logging Queries"

    The only way I can turn off logging queries seems to be to comment out
    the entire entry. Setting the level for QueryLogger to WARN still
    produces INFO log entries. Am I missing some "magic"?

    Here is my log.properties file:
    log4j.rootLogger=WARN, R
    log4j.appender.A1=org.apache.log4j.ConsoleAppender
    log4j.appender.A1.layout=org.apache.log4j.PatternLayout
    log4j.appender.A1.layout.ConversionPattern=%-5p %c{1}: %m%n

    log4j.appender.R=org.apache.log4j.FileAppender
    log4j.appender.R.File=cayenne.log
    log4j.appender.R.Append=false
    log4j.appender.R.layout=org.apache.log4j.PatternLayout
    log4j.appender.R.layout.ConversionPattern=%-5p %c{1}: %m%n

    # Data Loader logging
    log4j.logger.org.tigr.pfgrc.dbLayer=INFO

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

    # reduce joCache logging
    log4j.logger.org.shiftone.cache = INFO

    # query logging
    #log4j.logger.org.objectstyle.cayenne.access.QueryLogger = WARN

    #
    # GUI-related logging
    #

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

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

    Best,

    Joe



    This archive was generated by hypermail 2.0.0 : Thu Jun 09 2005 - 12:25:38 EDT