canonical / pebble

Pebble is a lightweight Linux service manager with layered configuration and an HTTP API.
https://canonical-pebble.readthedocs-hosted.com/
GNU General Public License v3.0
146 stars 54 forks source link

`pebble logs -f` does not see services started after API call. #56

Open hpidcock opened 3 years ago

hpidcock commented 3 years ago

If pebble logs -f happens before pebble start <svc>, logs from <svc> are omitted.

benhoyt commented 2 years ago

@hpidcock I realize it's a bit of a cheat, but see https://github.com/canonical/pebble/pull/110 -- this just documents the current behaviour. It would be non-trivial to wire this up, and it doesn't seem like it'd be that important for debugging. Happy to leave this issue open if you think it's important, though.

benhoyt commented 2 years ago

Per discussion, I've merged #110 to make the help match the current behaviour, but we'll keep this issue open.