Title: tomcat.log file not found
Try this from a servlet or jsp
 
Exception e = new Exception("test");
getServletContext().log("Exception Occurred"+exception, (Throwable)exception);
 
This will write the exception to tomcat.log.
 
Check if the following lines is there in tomcat\conf\server.xml
<Logger name="tc_log"
     path="logs/tomcat.log"
     customOutput="yes" />
 
    <Logger name="servlet_log"
     path="logs/servlet.log"
     customOutput="yes" />
 
    <Logger name="JASPER_LOG"
     path="logs/jasper.log"
     verbosityLevel = "ERROR" />
 
Regards,
Nagaraj.
 
 
 
-----Original Message-----
From: Panagiotis Konstantinidis [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 04, 2000 3:18 PM
To: '[EMAIL PROTECTED]'
Subject: RE: tomcat.log file not found

I have already tried to find it (in Windows) through the Start... Search... For Files or Folders... but in vein. It is not anywhere.
-----Original Message-----
From: CPC Livelink Admin [mailto:[EMAIL PROTECTED]]
Sent: 04 December 2000 13:54
To: [EMAIL PROTECTED]
Subject: RE: tomcat.log file not found

 
The message 'Starting tomcat. Check logs/tomcat.log for error messages' is purely informational.  If there were any errors, they would be logged in a file of this name.
 
But to find the file, on windows, right click on my computer, select Find (Search on Win2000), and enter tomcat.log in the filename box and let it go. On Unix, try 'find / -name tomcat.log -print | tee tmpy' (the tee command sends the output to both stdout and tmpy. This is useful, because if you are not root, then you will get lots of messages to stderr about can't read directory, so you can just 'cat tmpy' to find all the stuff that went to stdout.

Regards,
Paul
 
-----Original Message-----
From: Panagiotis Konstantinidis [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 04, 2000 08:42 AM
To: '[EMAIL PROTECTED]'
Subject: RE: tomcat.log file not found

 No it is not, I have already looked there (several times) but it is not in there. It is not in the tomcat/logs, actually it is not on my hard disk!!!!!!!!!!!!!!!!!!!!!! I can't seem to find it anywhere.
 
-----Original Message-----
From: G.Nagarajan [mailto:[EMAIL PROTECTED]]
Sent: 04 December 2000 13:06
To: [EMAIL PROTECTED]
Subject: RE: tomcat.log file not found

tomcat.log is usually in
c:\tomcat\logs\, if you have installed tomcat in c:\.
 
-----Original Message-----
From: Panagiotis Konstantinidis [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 04, 2000 1:49 PM
To: '[EMAIL PROTECTED]'
Subject: tomcat.log file not found

  And something else.... Sometimes when I am starting Tomcat I get an error message: "Starting tomcat. Check logs/tomcat.log for error messages" but I cannot find such file. I have looked everywhere (even in other drives) but I cannot find the file tomcat.log. I have to say here that Tomcat does not crash after this error message but keeps on working normally.

  Any ides about what is going on?

  Thank you.

   Panos

Reply via email to