DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17894>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17894 Unable to configure commons-logging SimpleLog for a webapp Summary: Unable to configure commons-logging SimpleLog for a webapp Product: Struts Version: 1.1 RC1 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Unknown AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I am unable to configure the commons-logging SimpleLog for my webapp. I beleive something is wrong with the jakarta-struts-1.1-rc1\lib\commons- logging.jar. If I use the commons project version 1.0.2 of the jar, everything works as expected. If I the struts 1.1-rc1 version of the jar, I am unable to change the SimpleLog properties such as the log level (i.e., trace, debug, info...). It seems to be completely ignoring my WEB- INF\classes\simplelog.properties file. The meta-inf\Manifest.mf file in the jakarta-struts-1.1-rc1\lib\commons- logging.jar does not have proper information for these properties: Extension-Name: @package@ Implementation-Version: @version@ My WEB-INF\classes\commons-logging.properties file: org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactory Impl org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog My WEB-INF\classes\simplelog.properties file: org.apache.commons.logging.simplelog.defaultlog=info org.apache.commons.logging.simplelog.log.org.apache.struts=debug org.apache.commons.logging.simplelog.log.com.ofx=debug org.apache.commons.logging.simplelog.showlogname=true org.apache.commons.logging.simplelog.showShortLogname=false Using the Struts 1.1-rc1 commons-logging.jar my console output is in the following format: Mar 11, 2003 3:28:04 PM org.apache.struts.util.PropertyMessageResources <init> INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=tru e Using the Commons 1.0.2 commons-logging.jar my console output is in the following format: [INFO] org.apache.struts.util.PropertyMessageResources - Initializing, config='o rg.apache.struts.util.LocalStrings', returnNull=true [DEBUG] org.apache.struts.action.ActionServlet - Scanning web.xml for controller servlet mapping My environment is: Windows 2000, J2SDK 1.4.1_01, Tomcat 4.1.18, Struts 1.1-rc1 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]