debug-log should make it possible to see previous messages

Bug #1166863 reported by Roger Peppe
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Andrew Wilkins

Bug Description

Currently, you can only use debug-log to see messages as they come in.
It would be good to be able to see all messages recorded in the log file,
to see what happened up until now.

debug-log -a or --all, perhaps.

Related branches

Revision history for this message
William Reade (fwereade) wrote :

Needed for the GUI in this cycle (S).

Changed in juju-core:
status: New → Triaged
importance: Undecided → Medium
importance: Medium → High
Andrew Wilkins (axwalk)
Changed in juju-core:
assignee: nobody → Andrew Wilkins (axwalk)
Andrew Wilkins (axwalk)
Changed in juju-core:
status: Triaged → In Progress
Revision history for this message
John A Meinel (jameinel) wrote :

The GUI actually wants a way via the API to get a list of recent log messages (especially the last X log messages for a given unit).

We currently just SSH into the state machine and grab the all machines watcher. So the need for GUI doesn't quite overlap with this. (We need an API which gives filtering and counting, etc).

Revision history for this message
Andrew Wilkins (axwalk) wrote :

You can now pass -n/--lines, and it will be passed onto tail.

Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: none → 1.14.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.