Set up your log4.jproperties file to do that.

John Fairbairn wrote:
Hi,

I'm using Struts 1.1-b2 within Websphere Studio Application Developer 4. I am getting an excessive amount of messages logged to my console such as:

0 [Thread-1] INFO util.PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true

10 [Thread-1] INFO util.PropertyMessageResources - Initializing, config='org.apache.struts.action.ActionResources', returnNull=true

3265 [Thread-1] INFO util.PropertyMessageResources - Initializing, config='UIStrings', returnNull=true

I tried setting the debug param to 0 when configuring the ActionServlet with no success:

<servlet>

<servlet-name>action</servlet-name>

<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>

<init-param>

<param-name>application</param-name>

<param-value>UIStrings</param-value>

</init-param>
<init-param>

<param-name>config</param-name>

<param-value>/WEB-INF/conf/struts-config.xml</param-value>

</init-param>

<init-param>

<param-name>debug</param-name>

<param-value>0</param-value>

</init-param>

<load-on-startup>2</load-on-startup>
</servlet>

I'd like to have no log messages written to the console or any other files.
Thanks,

John


---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now


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

Reply via email to