28 January 2004 - java_dev (original) (raw)

04:32 pm - cepcion - Struts/log4j configuration file I'm developing an webapp using Struts & Hibernate, and I would really like to disable all the INFO messages that scroll by on the console. I've read over the docs for both and I understand that they use either Commons Logging or Log4J, and the config file should be somewhere in the classpath.My question is, given my web app is called cap, stored under TOMCATHOME/webapps/cap,whereshouldlog4j.propertiesgo?I′vetriedTOMCATHOME/webapps/cap, where should log4j.properties go? I've tried TOMCATHOME/webapps/cap,whereshouldlog4j.propertiesgo?I′vetriedTOMCATHOME/webapps/cap/WEB-INF/classes and $TOMCATHOME/webapps/cap/WEB-INF with no luck./obligatory please help!