Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where does servlet.log() actually appear

 
Jag Bains
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm using struts framework and was wondering where the servlet.log output goes?
Jag
 
David Hibbs
Ranch Hand
Posts: 374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic