https://bugzilla.wikimedia.org/show_bug.cgi?id=46471

       Web browser: ---
            Bug ID: 46471
           Summary: Implement log rotation for jstart
           Product: Wikimedia Labs
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: Infrastructure
          Assignee: rlan...@gmail.com
          Reporter: krinklem...@gmail.com
                CC: abog...@wikimedia.org, fai...@wikimedia.org,
                    wikibugs-l@lists.wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to