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





------- Additional Comments From [EMAIL PROTECTED]  2003-03-11 23:39 -------
You can reproduce this using any of the Struts examples. Just configure an 
examaple as follows below. Notice that when you run the example you don't see 
any trace or debug level message on the console. Now replace the examples WEB-
INF\lib\commons-logging.jar with the commons 1.0.2 version. Reload the example 
webapp and you will see that it now finds the config file and displays trace 
and debug messages.

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

WEB-INF\classes\simplelog.properties file:
org.apache.commons.logging.simplelog.defaultlog=info
org.apache.commons.logging.simplelog.log.org.apache.struts=trace
org.apache.commons.logging.simplelog.showlogname=true
org.apache.commons.logging.simplelog.showShortLogname=false

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to