mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
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:
committed by
gVisor bot
parent
52e674b44d
commit
0034aaa82a
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user