As a side note, MongoDB offers a "capped collection" mechanism with
the semantics that you can insert rows at will, and it rolls around
automatically by replacing oldest entries with the newest ones. This
tends to be a very convenient way to do structured logging, both on
the writing and on the reading side. Using that as a general rsyslog
might be unwise, as there are a number of details to get right and the
volume may get wild depending on the application, but at least for the
juju implementation itself it might be quite convenient. Imagine being
able to ask "please tell me the output of the last run of the
db-relation-joined hook on unit db/3".

On Wed, Aug 6, 2014 at 11:24 AM, John Meinel <j...@arbash-meinel.com> wrote:
> all-machines.log is where we aggregate the messages from all
> machines/units/etc.
> It is likely to get big, which is why we want log rotate, but if you want to
> be able to "juju debug-log" and actually get the feed of everything that is
> going on, that needs to be *somewhere*. And yes, we'd like to switch to
> something like log stash instead, but until we get there we do still need
> it.
> John
> =:->
>
>
>
> On Wed, Aug 6, 2014 at 4:13 PM, Tim Penhey <tim.pen...@canonical.com> wrote:
>>
>> On 06/08/14 16:11, Nate Finch wrote:
>> > all-machines.log seems both redundant and a ticking time bomb of disk
>> > space usage.  Do we really need it?  Can we drop it and maybe later
>> > schedule some time to use something like logstash that is both more
>> > featureful and is cross platform compatible (unlike rsyslog)?
>>
>> not yet...
>>
>> debug-log uses all-machines.log, we cannot get rid of it at this stage.
>>
>> We can't drop it until a replacement is in place.
>>
>> Tim
>>
>>
>> --
>> Juju-dev mailing list
>> Juju-dev@lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/juju-dev
>
>
>
> --
> Juju-dev mailing list
> Juju-dev@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju-dev
>

-- 
gustavo @ http://niemeyer.net

-- 
Juju-dev mailing list
Juju-dev@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev

Reply via email to