RFC: proposed changes to debug-log API call
John Meinel
john at arbash-meinel.com
Tue Aug 9 09:50:10 UTC 2016
Sounds like a good idea. Can we get some form of versioning like we do with
Facades so that we can do changes in the future? AIUI we could put it in
the "Accept" header, in the URL or in a Query parameter. Please coordinate
with Ian who has been designing the REST API for CMR so that we use the
same mechanism.
John
=:->
On Aug 9, 2016 12:43 PM, "Tim Penhey" <tim.penhey at canonical.com> wrote:
> Hi folks,
>
> This is regarding the streaming /api/:model-uuid/log api server endpoint.
>
> Currently this method sends an initial possible error, then just turns on
> a tap of bytes of preformatted log messages.
>
> What I propose is to change the streaming protocol from just text to a
> stream of structured log messages.
>
> This initial change will have no impact at all on the CLI, but allows for
> future changes like:
> - showing logs in local time instead of UTC
> - hiding the filenames by default
> - not showing the date by default
> - colors
>
> Is anyone currently using the streaming text aspects of the API right now?
>
> How much warning would you like? Ideally this change needs to happen
> before we freeze the API for backwards compatibility.
>
> Cheers,
> Tim
>
> --
> Juju-dev mailing list
> Juju-dev at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
> an/listinfo/juju-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20160809/888d5fdb/attachment.html>
More information about the Juju-dev
mailing list