gem for Rails log rotation and upload old logs to s3 bucket

1.8k Views Asked by At

Is there a gem that would handle log rotation for Rails 4 and upload old logs to S3 ?

I'm googling for this for few hours and it sounds like something done by someone before (in gem form).

Thank you

1

There are 1 best solutions below

0
On

One solution is to use one of these solutions Ruby on Rails production log rotation and then just have rake task task that would move old logs to S3 bucket

rake task will be triggered by crone every night