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]

Reply via email to