Bug 918783 - RFE: log rotate for all cartridges
Summary: RFE: log rotate for all cartridges
Status: CLOSED DUPLICATE of bug 876473
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: ---
Assignee: Jhon Honce
QA Contact: libra bugs
Depends On:
TreeView+ depends on / blocked
Reported: 2013-03-06 20:50 UTC by Alexander Todorov
Modified: 2015-05-14 23:06 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Last Closed: 2013-03-12 20:47:33 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Alexander Todorov 2013-03-06 20:50:24 UTC
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.

Comment 1 Luke Meyer 2013-03-12 20:47:33 UTC
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 ***

Note You need to log in before you can comment on or make changes to this bug.