2013-07-03 10:00:32 +00:00
|
|
|
/var/log/rulingcom/*.log {
|
|
|
|
daily
|
2013-07-04 04:28:11 +00:00
|
|
|
dateext
|
|
|
|
compress
|
|
|
|
rotate 30
|
2013-07-03 10:00:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#Resque
|
|
|
|
<%= "#{@project_folder}/nginx/logs/access.log" %>{
|
2013-07-04 04:28:11 +00:00
|
|
|
daily
|
|
|
|
dateext
|
|
|
|
compress
|
|
|
|
rotate 30
|
2013-07-03 10:00:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#DB log
|
|
|
|
/var/log/mongodb{
|
|
|
|
daily
|
2013-07-04 04:28:11 +00:00
|
|
|
dateext
|
|
|
|
compress
|
|
|
|
rotate 30
|
2013-07-03 10:00:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#Orbit
|
|
|
|
<%= "#{@project_folder}/log/*production.log" %>{
|
2013-07-04 04:28:11 +00:00
|
|
|
daily
|
|
|
|
dateext
|
|
|
|
compress
|
|
|
|
rotate 30
|
2013-07-03 10:00:32 +00:00
|
|
|
}
|
|
|
|
# end of Orbit,EXTEND IF NEEDED
|
|
|
|
|
|
|
|
#Remember to save this file as /etc/logrotate.d/rulingcom
|