Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where to find tomcat access logs?

 
Deepak Mittal
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic