<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 23 October 2015 at 03:16, Aaron Bentley <span dir="ltr"><<a href="mailto:aaron.bentley@canonical.com" target="_blank">aaron.bentley@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA256<br>
<span class=""><br>
> The main issue I can see is that once rsyslog based logging is<br>
> turned off we lose the all-machines.log file which some people and<br>
> systems no doubt rely on. The logs for an environment can of course<br>
> still be retrieved using the "juju debug-log" command.<br>
<br>
</span>all-machines.log is one of many log files CI stores so that failures<br>
can be debugged afterwards.<br></blockquote></div><br></div><div class="gmail_extra">Once logging to the database becomes the default, all-machines.log won't be there any more. It helps that the various machine-*.log files are already also being collected by the CI infrastructure where possible. This mitigates the issue somewhat.<br><br>What about running "juju debug-log" for the duration of each CI test? This would mean all the logs end up on the host running the tests negating the need to scp a file.<br><br></div><div class="gmail_extra">Alternatively, the to-be-created tool to dump the logs from the database could be used after a test completes.<br><br></div></div>