Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts Logging Question

 
Tripp Bishop
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy all,
I need to prevent the Struts action servlet from dumping log statements to stdout. I've tried setting the the context debug level to 0 and also tried setting the following init-params in the WEB.xml
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
<init-param>
<param-name>detail</param-name>
<param-value>0</param-value>
</init-param>
but the ActionServlet continues to write log statements to stdout. HELP! I need to suppress (or redirect them to a log file) these statements ASAP!
Thanks in advance,
Tripp
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Struts forum. (They hide it under "Frameworks" ).
 
J Haley
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the same question. I would to suppress this logging from occurring, but am having trouble doing so. I have also set my debug value to 0 in web.xml. Thanks.

Jay

/////

[10/18/04 8:56:02:427 CDT] 1cc4399 SystemOut U 304678667 [Servlet.Engine.Transports:9] DEBUG org.apache.struts.util.RequestUtils - Module name found: default

[10/18/04 8:56:02:427 CDT] 1cc4399 SystemOut U 304678667 [Servlet.Engine.Transports:9] DEBUG org.apache.struts.action.RequestProcessor - Processing a 'POST' for path '/reportCriteria'
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic