This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat not generating default Log file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat not generating default Log file" Watch "Tomcat not generating default Log file" New topic
Author

Tomcat not generating default Log file

felix thomas
Ranch Hand

Joined: Jun 10, 2001
Posts: 89
Hi,

I have started using Apache Tomcat Version 5.5.1
Using JAVA_HOME: C:\jdk1.5
Version: Apache Tomcat/5.5.1

when I was using earlier 5.0.28 version i was gettinmg log file comprising out server stack trace etc. But the current version is only giving me
localhost_access_log.2007-11-12 log which only contain Http request and responses.

Is there any settings in Tomcat to make it log the server stack traces and other error exception which occur.???






Freddy Wong
Ranch Hand

Joined: Sep 11, 2006
Posts: 959

I guess you're looking at the wrong log. The localhost_access_log.<date>.log is for the access log. You should check the localhost.<date>.log.


SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
felix thomas
Ranch Hand

Joined: Jun 10, 2001
Posts: 89
Thanks Freddy for your answer, but my problem is that tomcat is only generating one log i.e...._access.. log file , the other type of log file is not getting generated.

 
jQuery in Action, 2nd edition
 
subject: Tomcat not generating default Log file
 
Similar Threads
"java.io. CharConversionException: isHexDigit" - Trojan Attempt?
please help "javax.servlet.jsp.JspException: Failed to obtain specified collection"
Accessing Subversion over the Internet
log file for tomcat
Problem in Sending Mail Using Sockets