Merge lp://staging/~abentley/juju-ci-tools/more-logs into lp://staging/juju-ci-tools

Proposed by Aaron Bentley
Status: Merged
Merged at revision: 1363
Proposed branch: lp://staging/~abentley/juju-ci-tools/more-logs
Merge into: lp://staging/juju-ci-tools
Diff against target: 47 lines (+10/-2)
2 files modified
deploy_stack.py (+2/-0)
tests/test_deploy_stack.py (+8/-2)
To merge this branch: bzr merge lp://staging/~abentley/juju-ci-tools/more-logs
Reviewer Review Type Date Requested Status
Curtis Hovey (community) code Approve
Review via email: mp+292040@code.staging.launchpad.net

Commit message

Include syslog and mongodb log when duming logs.

Description of the change

This branch adds syslog and mongodb.log to the list of remote logs we gather.

It does not handle this for the local provider, but this is phased out in 2.0 anyhow.

I have tested it out in AWS and got the expected files:
./abtest
./abtest/machine-1
./abtest/machine-1/cloud-init.log.gz
./abtest/machine-1/unit-dummy-sink-0.log.gz
./abtest/machine-1/machine-1.log.gz
./abtest/machine-1/cloud-init-output.log.gz
./abtest/machine-1/syslog
./abtest/machine-0
./abtest/machine-0/cloud-init.log.gz
./abtest/machine-0/unit-dummy-source-0.log.gz
./abtest/machine-0/machine-0.log.gz
./abtest/machine-0/cloud-init-output.log.gz
./abtest/machine-0/syslog
./admin
./admin/machine-0
./admin/machine-0/logsink.log.gz
./admin/machine-0/cloud-init.log.gz
./admin/machine-0/machine-0.log.gz
./admin/machine-0/cloud-init-output.log.gz
./admin/machine-0/syslog
./admin/machine-0/mongodb.log.gz

To post a comment you must log in.
Revision history for this message
Curtis Hovey (sinzui) wrote :

Thank you, this looks familiar with what I wrote, except mine failed on some substrates.

review: Approve (code)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches