aspose file tools*
The moose likes Struts and the fly likes Where does servlet.log() actually appear Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Where does servlet.log() actually appear" Watch "Where does servlet.log() actually appear" New topic
Author

Where does servlet.log() actually appear

Jag Bains
Ranch Hand

Joined: Nov 19, 2002
Posts: 39
Hi,
I'm using struts framework and was wondering where the servlet.log output goes?
Jag
David Hibbs
Ranch Hand

Joined: Dec 19, 2002
Posts: 374
The ActionServlet's log(String, int) method typically sends the log messages to the stdout log, as long as you have declared the init debug parameter >= the int value passed in.
However, as it is actually calling the log method inherited from GenericServlet, this is dependent on your servlet container. You can see the javax.servlet API docs for more info.


"Write beautiful code; then profile that beautiful code and make little bits of it uglier but faster." --The JavaPerformanceTuning.com team, Newsletter 039.
 
 
subject: Where does servlet.log() actually appear