This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi All, I'm working with Struts for the first time and can't seem to disable the 'Info' messages. For example on every forward (to path ''default.do) I get a message on the console/log '[INFO] RequestProcessor - -Processing a 'POST' for path '/default''. I also get a bunch of other annoying info messages specially upon servlet initialization. The strange thing is that no matter what I do the messages end up in my 'stderr' log/console (not 'stdout'). I'm using WSAD 5.0 (with 4.0 test environment) as well as the Websphere 4.05 server (the same thing happens in both WSAD and WAS). I've tried using changing the values of the ActionServlet's 'debug' and 'detail' init-params but it did not help (I've used all of the following values to no avail -1, 0, 1, 2, 3 etc). Here's an excerpt of my web.xml file.
Any help would be appreciated. Thanks! [ March 15, 2004: Message edited by: Mayer Salzer ] [ March 15, 2004: Message edited by: Mayer Salzer ]
Might be you are using log4j check the log4j.properties debug level
Joined: Apr 01, 2002
Dora, I am using Log4J but I don't think that's it. The debug level is set to "ERROR" and I know it works because I dodn't get any of the other "debug" or "info" messages I have in my code. Also, my log4j messages go to a special log file, these (struts) messages are going to my "stderr" log/console. Unless there's something else that I need to do with the log4j properties file - specifically for the struts servlet . . . ? Did you experience similar problems? Thanks, Mayer