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.
This commit is contained in:
Andrei Vagin 2019-07-22 23:47:25 -07:00 committed by Dmitry Vyukov
parent f171a40c6b
commit bb071d588d

View File

@ -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, " ")...)