Last modified: 2014-07-21 12:24:42 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T48471, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46471 - Implement log rotation for jstart
Implement log rotation for jstart
Status: RESOLVED DUPLICATE of bug 66623
Product: Wikimedia Labs
Classification: Unclassified
Infrastructure (Other open bugs)
unspecified
All All
: Low enhancement
: ---
Assigned To: Ryan Lane
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-22 23:50 UTC by Krinkle
Modified: 2014-07-21 12:24 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Krinkle 2013-03-22 23:50:11 UTC
jstart (jsub -continuous) will likely cause log files to grow rapidly over time.

Though it is nice that it doesn't clear the files on start (so that the logs are preserved when a node goes down and the job is restarted elsewhere), it comes at the cost of logs that are never trimmed and never reset.

It would be nice if jstart had a built-in feature to rotate the .err and/or .out files (or make it very easy to set up logrotate.d for it with some kind of dotfile in the tools home directory).

Coren and I were chatting about this on IRC.

Perhaps something like this:

 Usage jstart  --log-maxage='1 week' --log-rotate='daily'

You can imagine how it would work and what kind of values it'll take.
Comment 1 Tim Landscheidt 2014-07-21 12:24:42 UTC

*** This bug has been marked as a duplicate of bug 66623 ***

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


Navigation
Links