lib/luban/deployment/applications/rails/templates/rails.logrotate.erb in luban-rails-0.1.8 vs lib/luban/deployment/applications/rails/templates/rails.logrotate.erb in luban-rails-0.1.9
- old
+ new
@@ -1,11 +1,11 @@
# Logrotate configuration for Rails
<%= log_path.join("#{stage}.log") %> {
hourly
maxsize 5M
- maxage 14
- rotate <%= 14 * 24 * (60 / 10) %>
+ maxage <%= logrotate_max_age %>
+ rotate <%= logrotate_count %>
missingok
compress
compresscmd <%= `which gzip`.chomp %>
delaycompress
dateext