Set up logging in Tomcat 5.5
Note: CATALINA_HOME is probably the environment variable pointing to your tomcat installation.
* put log4j and commons-logging in ${CATALINA_HOME}/common/lib
* put a basic
log4j.properties
file in ${CATALINA_HOME}/common/classesfor example:
log4j.rootLogger=DEBUG, stdout
log4j.logger.org.apache=INFO
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - %m%n
Note: I turned
org.apache
to INFO to ensure I don't get a few miles of digester loggingNote: Of course you could add file appenders if you wish - I'm keeping this minimal
Make sure commons-logging.jar is not in your WEB-INF/lib directory of your web-app. That seemed to be the thing that switched off the availability for Spring debug logging. I'm sure there are other ways to get this going but this worked for me.
Who knows where to download XRumer 5.0 Palladium?
ReplyDeleteHelp, please. All recommend this program to effectively advertise on the Internet, this is the best program!