File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes How to suppress server console message from  struts1.3.10 + tiles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to suppress server console message from  struts1.3.10 + tiles" Watch "How to suppress server console message from  struts1.3.10 + tiles" New topic
Author

How to suppress server console message from struts1.3.10 + tiles

raju saranga
Greenhorn

Joined: Apr 09, 2009
Posts: 1
We are developing application with Struts 1.3.10, tiles and log4j1.2.15 using RAD 6.0.

I am receiving following message on server console for every “request”

[4/8/09 14:53:38:959 PDT] 0000005f TilesPreProce I org.apache.struts.tiles.commands.TilesPreProcessor execute Tiles process complete; forward to /WEB-INF/jsp/myLayout.jsp

Please let me know, if there is any solution to suppress this informational message?

Reason: Since application is internet based and would like to filter above informational messages from the log files.

Thank You
Raju
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Set the logging level for Tiles to WARN, I guess--this appears to be an INFO-level message, although with the log format being used that's just a guess.
 
GeeCON Prague 2014
 
subject: How to suppress server console message from struts1.3.10 + tiles