<div dir="ltr"><div><div><div>I have some naive questions.<br><br></div> * We are still writing logs to the local disk, we are just no longer using rsyslog to stream / aggregate them?<br></div><div> * Is there a separate mongo instance that handles the log collection?<br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 9, 2015 at 11:32 PM, Tim Penhey <span dir="ltr"><<a href="mailto:tim.penhey@canonical.com" target="_blank">tim.penhey@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 10/11/15 17:30, Stuart Bishop wrote:<br>
> On 9 November 2015 at 11:34, Menno Smits <<a href="mailto:menno.smits@canonical.com">menno.smits@canonical.com</a>> wrote:<br>
><br>
>> In a recent thread I highlighted the upcoming change in Juju's logging where<br>
>> logs from machine and unit agents will be streamed over Juju's API instead<br>
>> of via rsyslogd. Two things came out of that discussion:<br>
>><br>
>> 1. a desire for juju debug-logs to support a "non-tailing" mode (as per bug<br>
>> 1390585)<br>
>> 2. a desire for a tool to dump the logs out of the database in the case of<br>
>> Juju being unavailable for some reason.<br>
><br>
><br>
>> As always, questions and comments welcome.<br>
><br>
> will 'juju debug-log' and 'juju dump-logs' support the common --format<br>
> argument or similar, allowing me to spit out the structured data? I'm<br>
> mainly interested in spitting out a stream of JSON dictionaries to<br>
> pass to filters and formatters.<br>
><br>
<br>
</span>debug-log will (RSN™) but it doesn't yet<br>
<br>
juju-dumplogs is a server side log recovery tool, and not for general use.<br>
<span class="HOEnZb"><font color="#888888"><br>
Tim.<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
--<br>
Juju-dev mailing list<br>
<a href="mailto:Juju-dev@lists.ubuntu.com">Juju-dev@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju-dev" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div>Wayne Witzel III</div><div><a href="mailto:wayne.witzel@canonical.com" target="_blank">wayne.witzel@canonical.com</a></div></div></div>
</div>