Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

servletContext.log(String message) ?  RSS feed

 
Raj Paul
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everybody,
Can somebody say about the method log(String msg) in ServletContext ? How to declare the log file....or where it stores...
Thanks & Regards
Mike
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is up to the server. On Tomcat, you can configure this in the server.xml. Check the documentation for your server to determine where it writes this and how to configure it. (It's self documented inside Tomcat's server.xml just read through it)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!