This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can tomcat access logs(AccessLogValve) be rotated hourly?

 
Samir Banerjee
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any option that can enable tomcat access log rotation to hourly format instead of daily. Below is what I am using



Thanks in advance!
 
Tim Holloway
Saloon Keeper
Posts: 18303
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a closer lok at the "fileDateFormat" attribute in the documentation. http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Access_Log_Valve
 
Samir Banerjee
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot Tim. Really bad I missed this simple thing .

Cheers.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic