From bb071d588df168daf58e1859f93f602790a85dd5 Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Mon, 22 Jul 2019 23:47:25 -0700 Subject: vm/gvisor: run runsc with the alsologtostderr option $ runsc -h ... -alsologtostderr=false: send log messages to stderr ... Now gvisor doesn't send log messages on stderr by default, and if we want to see these messages, we need to specify the alsologtostderr option. --- vm/gvisor/gvisor.go | 1 + 1 file changed, 1 insertion(+) diff --git a/vm/gvisor/gvisor.go b/vm/gvisor/gvisor.go index 306b4e418..4e0ffe645 100644 --- a/vm/gvisor/gvisor.go +++ b/vm/gvisor/gvisor.go @@ -192,6 +192,7 @@ func (inst *instance) runscCmd(add ...string) *exec.Cmd { "-watchdog-action=panic", "-network=none", "-debug", + "-alsologtostderr", } if inst.cfg.RunscArgs != "" { args = append(args, strings.Split(inst.cfg.RunscArgs, " ")...) -- cgit mrf-deployment