That makes sense, but unforunately did not do anything.  Here's what my
server spits out when starting up:

2008-06-15 16:16:54.855::INFO:  Extract
jar:file:/usr/local/jetty/webapps/struts2.war!/ to
/usr/local/jetty/work/Jetty_0_0_0_0_80_struts2.war___struts2test_-f01z4v/webapp
Jun 15, 2008 4:16:55 PM com.opensymphony.xwork2.util.logging.jdk.JdkLogger
info
INFO: Parsing configuration file [struts-default.xml]
Jun 15, 2008 4:16:55 PM com.opensymphony.xwork2.util.logging.jdk.JdkLogger
info
INFO: Parsing configuration file [struts-plugin.xml]
Jun 15, 2008 4:16:55 PM com.opensymphony.xwork2.util.logging.jdk.JdkLogger
info
INFO: Parsing configuration file [struts.xml]


It seem to still think com.opensymphony.xwork2.util.logging.jdk.JdkLogger
should log "info" even though my log4j.properties has this line:
log4j.category.com.opensymphony.xwork2.util.logging.jdk.JdkLogger=error

Is there something I have to add to the struts.xml file?




Joachim Rohde wrote:
> 
> Hi,
> 
> add in your web.xml following snippet:
> 
>      <context-param>
>          <param-name>log4jConfigLocation</param-name>
>          <param-value>/WEB-INF/classes/log4j.properties</param-value>
>      </context-param>         
> 
> And in the log4j.properties you add following line:
> 
> log4j.category.com.opensymphony.xwork2.util.logging.jdk.JdkLogger=ERROR
> 
> That should log only error-messages coming from this class.
> 
> Joachim
> 
> jefetech schrieb:
>> I just converted from struts 1 to 2.1.  I've got everything working, but
>> I
>> can't seem to stop this warning from being spit out in the console every
>> time struts runs.  Any help would be great.  thank you.
>> 
>> Jun 15, 2008 11:43:01 AM
>> com.opensymphony.xwork2.util.logging.jdk.JdkLogger
>> warn
>> WARNING: Could not find property [struts.valueStack]
>> Jun 15, 2008 11:43:01 AM
>> com.opensymphony.xwork2.util.logging.jdk.JdkLogger
>> warn
>> WARNING: Could not find property [org.apache.catalina.jsp_file]
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Can%27t-stop-console-warnings-tp17854725p17856624.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to