• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Suppressing log statements inside SystemOut.log

 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have 2 questions.
1. What is the significance of the param value 3 in -
<init-param>
<param-name>debug</param-name>
<param-value>3</param-value>
</init-param>
inside the web.xml (deployment decriptor) ? Is it a commons-logging option?
2. The first question arises because the SystemOut.log file on the server always gives (an INFO level) log statements whenver an Action is called eg:
RequestProces I org.apache.struts.action.RequestProcessor Processing a 'POST' for path '/LoginAction'
RequestProces I org.apache.struts.action.RequestProcessor Processing a 'POST' for path '/LoginAction'
I would like to suppress this in a proper way. Can you suggest a mechanism in which I can turn this INFO level logging so that I can get rid of the above statements?
TIA,
Sam.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey,
You got any answer for this question.. Please share it...
As my log file getting loaded with lot of struts related log info
 
Dinner will be steamed monkey heads with a side of tiny ads.
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic