tremplin: log LXD's stdout and stderr

LXD usually logs to syslog, but during a panic it only writes
to stderr. Catch the stderr (and stdout for good measure) to
help debugging.

BUG=b:231408845
TEST=cros_workon_make --install --test --board=tatl chromeos-base/tremplin && chromite/contrib/guestos/deploy_to_termina --board tatl dut chromeos-base/tremplin --restart-services

Change-Id: I88e8a3e3a0ddbf6a13fdd2776bbaad8b094c8004
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tremplin/+/3629843
Reviewed-by: Nicholas Verne <nverne@chromium.org>
Commit-Queue: David Munro <davidmunro@google.com>
Reviewed-by: David Munro <davidmunro@google.com>
Tested-by: David Munro <davidmunro@google.com>
1 file changed
tree: f65955fd7cdc135082b7a49689c5aead233d0223
  1. src/
  2. .gitignore
  3. OWNERS
  4. README.md
README.md

Tremplin

Tremplin is the “springboard” daemon that runs in the Termina VM and exposes a gRPC interface for managing LXD containers.