Send sandbox log to test log

This used to be the case, but when --alsologtostderr
was added, it stopped logging.

PiperOrigin-RevId: 264905640
This commit is contained in:
Fabricio Voznika
2019-08-22 13:26:29 -07:00
committed by gVisor bot
parent 52e674b44d
commit 0034aaa82a
+9 -7
View File
@@ -127,13 +127,15 @@ func FindFile(path string) (string, error) {
// 'RootDir' must be set by caller if required.
func TestConfig() *boot.Config {
return &boot.Config{
Debug: true,
LogFormat: "text",
LogPackets: true,
Network: boot.NetworkNone,
Strace: true,
Platform: "ptrace",
FileAccess: boot.FileAccessExclusive,
Debug: true,
LogFormat: "text",
DebugLogFormat: "text",
AlsoLogToStderr: true,
LogPackets: true,
Network: boot.NetworkNone,
Strace: true,
Platform: "ptrace",
FileAccess: boot.FileAccessExclusive,
TestOnlyAllowRunAsCurrentUserWithoutChroot: true,
NumNetworkChannels: 1,
}