| Author |
Where can I find my log files??
|
Andres Gonzalez
Ranch Hand
Joined: Nov 27, 2001
Posts: 1561
|
|
Hi. If my structure is something like this and I'm using log("") in my servlets, where can I find the log file??? thanks
|
I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
|
 |
L Goundalkar
Ranch Hand
Joined: Jul 05, 2001
Posts: 395
|
|
Hi The Servlet Specification says..
log( String) public void log( java.lang.String msg) Writes the specified message to a servlet log file, usually an event log. The name and type of the servlet log file is specific to the servlet container.
So its implementation specific. I guess it will be along with the same directory where servlet is residing. i.e WEB-INF/classes directory. Let me know if I am wrong.
|
<b>L G Goundalkar</b><br /> <a href="mailto:lggoundalkar@yahoo.com" rel="nofollow">lggoundalkar@yahoo.com</a> <br />Sun Certified Programmer for Java 2 Platform.<br />Sun Certified Web Component Developer for J2EE.
|
 |
Andres Gonzalez
Ranch Hand
Joined: Nov 27, 2001
Posts: 1561
|
|
thanks Lakshmeenarayana. I finally found the location of my log file. I'm not quite sure if the location of this file depends of the IDE you're using. I'm using forte for java CE (sun ONE) and it was located in a different location from where I have my web application (i think the folder name is something like "ideuserdir", I don't remember exactly.) thanks
|
 |
 |
|
|
subject: Where can I find my log files??
|
|
|