~dave-cheney/juju-core/always-vet-struct-tags

Viewing all changes in revision 2575.

  • Committer: Tarmac
  • Author(s): Tim Penhey
  • Date: 2014-04-07 05:32:48 UTC
  • mfrom: (2562.2.9 debug-log-apiserver)
  • Revision ID: tarmac-20140407053248-qmv3m5zjj1jizwyy
[r=thumper] Add debug-log server api

Add the server side end-point for the debug-log api
call. This is implemented as a websocket, with the
request parameters defining the filtering behaviour,
and the log lines that match being streamed back to
the user over the web-socket.

The first line over the websocket is the an error
structure. If there are any issues either processing
the parameters or opening the log file, there is
an error, and if not, the Error component is 'null'.

The capabilities of the server match the older python
version as closely as possible.

https://codereview.appspot.com/84880044/

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: