Red Hat Bugzilla – Bug 918783
RFE: log rotate for all cartridges
Last modified: 2015-05-14 19:06:25 EDT
Description of problem:
I notice that my app is taking too much space, lots of it are log files:
cron-1.4 - uses log rotate as it seems
metrics-0.1 and python-2.6 - don't. They use timestamps for the log file names.
I have nearly 50MB in log files which I have to clean up manually.
Please fix this or add some sort of setting for log rotate.
It is a good idea and we have a user story to do it (US3111) - sadly not yet publicly visible but look for it at https://trello.com/board/openshift-origin-runtime/50fc6bb487602f214b003f71 when that team moves to Trello. It's not scheduled yet, sorry, you are of course welcome to work to implement it yourself.
See also https://openshift.redhat.com/community/forums/openshift/log-rotation-not-enabled
And you can use rhc tidy to clean up log files.
*** This bug has been marked as a duplicate of bug 876473 ***