I applied JCSJ2ee in my application which uses log4j for logging.
My requirements
Install the application rootLoggerat a level DEBUGand JCSlog in ERROR.
What is used
Tried the following in log4jproperties
log4j.category.org.apache.common.jcs=ERROR
log4j.logger.org.apache.common.jcs=ERROR
But nothing affects logging.
Whenever access to the cache occurs, it logs a bunch of messages returning first node.
Note. I am using the latest version of JCScommons-jcs-core-2.0-beta-1.jar
These are my complete log4j.properties
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 [%t] %-5p - %m%n
log4j.logger.net.sf.jasperreports=ERROR
log4j.category.org.apache.common.jcs=ERROR
Akhil source
share