aspose file tools*
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: 42264
    
  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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Where to find tomcat access logs?