aspose file tools*
The moose likes Tomcat and the fly likes where we view Log file stored using servletcontext Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "where we view Log file stored using servletcontext" Watch "where we view Log file stored using servletcontext" New topic
Author

where we view Log file stored using servletcontext

Kaleeswaran Karuppasamy
Ranch Hand

Joined: Jul 19, 2007
Posts: 153
i have stored logging information using this coding

ServletContext ctx=session.getServletContext();
ctx.log("Hi");

then
how and where it will stored,how to view this logging files


Judge a man by his questions rather than his answers --Voltaire
SCJP 1.5 97%
Amol Nayak
Ranch Hand

Joined: Oct 26, 2006
Posts: 218
Which container and on which platform you are running it?
Kaleeswaran Karuppasamy
Ranch Hand

Joined: Jul 19, 2007
Posts: 153
Originally posted by Amol Nayak:
Which container and on which platform you are running it?


tomcat server and linux platform
Amol Nayak
Ranch Hand

Joined: Oct 26, 2006
Posts: 218
just check the catalina.out file under logs directory..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: where we view Log file stored using servletcontext
 
Similar Threads
Generated Servlet class of a jsp.
log files.
static vars vs. servlet context
servletConfig and servletContext
Again - Cannot find FacesContext