How to disable Webwork validation logging

Daniel Dang <[email protected]>
Newsgroups gmane.comp.java.open-symphony.webwork
Message-ID <25528637.1148224379016.JavaMail.os-j2ee@opensymphony01.managed.contegix.com>
I try validation through xml file
@xwork.xml
    <action name="TestAction" class="com.pda.webwork.action.TestAction">
    	<result name="input" type="dispatcher">/JSP/TestForm.jsp</result>
       	<result name="success" type="dispatcher">/JSP/TestPage.jsp</result>
      <interceptor-ref name="validationWorkflowStack"/>      
    </action> 
@TestAction-validation.xml 
    <field name="surname">
        <field-validator type="requiredstring">
            <message>surname is required.</message>
        </field-validator>
    </field>
@TestForm.jsp
<ww:form action="TestAction.action" method="post">
	<ww:textfield name="firstName"></ww:textfield>
	<ww:textfield name="surname"></ww:textfield>
	<ww:submit value="submit"></ww:submit>
</ww:form>

When I open the TestForm.jsp, I get long list of logging messages at server console. Below are some sample lines. 

[i]DEBUG   11482   [freemark] (): template/xhtml/submit.ftl[en_US,UTF-8,parsed] using cached since jar:file:/D:/Codes/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/webapps/PDA/WEB-INF/lib/webwork-2.2.2.jar!/template/xhtml/submit.ftl didn't change.
DEBUG   11482   [freemark] (): template/simple/submit.ftl[en_US,UTF-8,parsed] using cached since jar:file:/D:/Codes/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/webapps/PDA/WEB-INF/lib/webwork-2.2.2.jar!/template/simple/submit.ftl didn't change.
DEBUG   11482   [freemark] (): Key 'name' was not found on instance of java.util.HashMap. Introspection information for the class is: {java.lang.Object@19e215b={public void 
.....[/i]

Do anyone know how to disable those logging? 
In log4j.properties, I did set logging level above DEBUG


# Set root logger level to WARN and append to stdout
log4j.rootLogger=WARN, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout

# OpenSymphony Stuff
log4j.logger.com.opensymphony=ERROR
log4j.logger.com.opensymphony.webwork=ERROR

Thx in advance
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=31705&messageID=61342#61342

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.