File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 154
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: 154
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