This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


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: 42024
    
  64
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
 
GeeCON Prague 2014
 
subject: Where to find tomcat access logs?