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 Where to find tomcat access logs? 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 "Where to find tomcat access logs? " Watch "Where to find tomcat access logs? " New topic
Author

Where to find tomcat access logs?

Deepak Mittal
Greenhorn

Joined: Dec 18, 2007
Posts: 8
I need to look at the tomcat access logs (web-server access logs). I could not locate them easily.

Are access logs turned-off by default? Any pointers?

Regards,

-Deepak
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41155
    
  45
They're usually in the TOMCAT_HOME/logs directory, named localhost_access_log.2008-01-29.txt or something like that. If there aren't any, search the TOMCAT_HOME/config/server.xml file for "AccessLogValve". If it's commented out, comment it in and restart Tomcat.


Ping & DNS - my free Android networking tools app
 
 
subject: Where to find tomcat access logs?
 
Similar Threads
Graphing Verbose GC Logs
Deploying Applet
servlet prinln stmt query
Jonas logs
ContextListener stopping context from loading