add option to logrotate for conversional policy.

This commit is contained in:
Matt K. Fu committed 2013-08-27 15:59:17 +08:00
1 parent 030d994180
commit 1592aaff89
2 files changed
+15 -6

No files matched your search

+14 -6
View File
@@ -1,24 +1,32 @@
/var/log/rulingcom/*.log {
daily
rotate 5
dateext
compress
rotate 30
}
#Resque
<%= "#{@project_folder}/nginx/logs/access.log" %>{
daily
rotate 5
daily
dateext
compress
rotate 30
}
#DB log
/var/log/mongodb{
daily
rotate 5
dateext
compress
rotate 30
}
#Orbit
<%= "#{@project_folder}/log/*production.log" %>{
daily
rotate 5
daily
dateext
compress
rotate 30
}
# end of Orbit,EXTEND IF NEEDED