I have created a servlet that gets loaded using Tomcat 5.0.28 that uses
Cayenne. I am trying to change the default logging behavior to stop dumping
the SQL statements so I can properly deploy the application. I have created
a cayenne-log.properties file and stored it in the /WEB-INF/classes/.cayenne
folder to no avail. Can someone help me figure out what is going wrong?
Here is the contents of my /WEB-INF/classes/.cayenne/cayenne-log.properties
file it doesnąt seemd to be getting read during startup.
***************
log4j.rootLogger=WARN, A1
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
# General Cayenne logging
log4j.logger.org.objectstyle.cayenne = WARN
log4j.logger.org.objectstyle.cayenne.access.QueryLogger = INFO
# GUI-related logging
# reduce Scope logging
log4j.logger.org.scopemvc = INFO
# set modeler to INFO
log4j.logger.org.objectstyle.cayenne.modeler = INFO
This archive was generated by hypermail 2.0.0 : Thu Feb 16 2006 - 13:57:47 EST