Merge lp:~jpds/launchpad/archivepublisher-log-to-file into lp:launchpad
| Status: | Rejected |
|---|---|
| Rejected by: | Tom Haddon on 2010-03-09 |
| Proposed branch: | lp:~jpds/launchpad/archivepublisher-log-to-file |
| Merge into: | lp:launchpad |
| Diff against target: |
208 lines (+48/-13) 1 file modified
cronscripts/publishing/cron.publish-ftpmaster (+48/-13) |
| To merge this branch: | bzr merge lp:~jpds/launchpad/archivepublisher-log-to-file |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Graham Binns (community) | code | 2010-03-09 | Approve on 2010-03-09 |
| Julian Edwards | 2010-03-09 | Pending | |
|
Review via email:
|
|||
Commit Message
Made cron.publish-
Description of the Change
= Summary =
This branch makes the cron.publish-
/srv/launchpad.
...rather than having cron send all the output to the lp_publish user's mail spool file where it's building up and hard to find what ran at what time.
It also rotates the log when it's completed a run and keep up to a month's worth of logs.
All actions are additionally timestamped.
| Tom Haddon (mthaddon) wrote : | # |
| Julian Edwards (julian-edwards) wrote : | # |
Can you paste the conversation in here for posterity please?
Unmerged revisions
- 10464. By Jonathan Davies on 2010-03-09
-
Timestamp these two last things.
- 10463. By Jonathan Davies on 2010-03-09
-
Log all output of cron.publish-
ftpmaster to file instead of via cron emails and
timestamp everything we do.

For reasons discussed on IRC I'd rather this wasn't merged. We should just do this in the crontab rather than in the script itself.