From e9faea6a6321e7260c169705d133b4a26a3f0f5b Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Mon, 24 Oct 2022 12:11:23 +0200 Subject: vm/proxyapp: configure proxyApp log output (#3459) --- vm/proxyapp/init.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vm/proxyapp/init.go') diff --git a/vm/proxyapp/init.go b/vm/proxyapp/init.go index 17db527f9..538cadf6f 100644 --- a/vm/proxyapp/init.go +++ b/vm/proxyapp/init.go @@ -8,6 +8,7 @@ import ( "encoding/json" "fmt" "io" + "os" "time" "github.com/google/syzkaller/pkg/config" @@ -19,6 +20,7 @@ func makeDefaultParams() *proxyAppParams { return &proxyAppParams{ CommandRunner: osutilCommandContext, InitRetryDelay: 10 * time.Second, + LogOutput: os.Stdout, } } @@ -35,6 +37,7 @@ func init() { type proxyAppParams struct { CommandRunner func(context.Context, string, ...string) subProcessCmd InitRetryDelay time.Duration + LogOutput io.Writer } func osutilCommandContext(ctx context.Context, bin string, args ...string) subProcessCmd { -- cgit mrf-deployment