Send Juju logs to different database?
Menno Smits
menno.smits at canonical.com
Wed May 6 22:59:36 UTC 2015
On 6 May 2015 at 19:53, Stuart Bishop <stuart.bishop at canonical.com> wrote:
> On 6 May 2015 at 04:57, Menno Smits <menno.smits at canonical.com> wrote:
>
> > It is more likely that Juju will grow the ability to send logs to
> external
> > log services using the syslog protocol (and perhaps others). You could
> use
> > this to log to your own log aggregator or database. This feature has been
> > discussed but hasn't been planned in any detail yet (pull requests would
> be
> > most welcome!).
>
> syslog seems a bad fit, as the logs are now structured data and I'd
> like to keep it that way. I guess people want it as an option, but I'd
> consider it the legacy option here.
>
You're right. Structured logs would be much more useful.
> My own use case would be to make a more readable debug-logs, rather
> than attempting to parse the debug-logs output ;) Hmm... I may be able
> to do this already via the Juju API.
>
Not yet. The API used by debug-log currently emits formatted log lines, not
structured log data.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20150507/3a8cda38/attachment.html>
More information about the Juju-dev
mailing list