From f196396a1c0e734c247c3d276eeac1e125524a41 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Sat, 11 Nov 2017 15:44:51 -0800 Subject: [PATCH] Send soong output to std.log in multiproduct_kati Instead of throwing it away (though it would also be in soong.log along with the verbose messages). Test: build/soong/build_test.bash with ctx.Println added Change-Id: I64f8b11ab6752a6be8a5934fb41e30439238e331 --- cmd/multiproduct_kati/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/multiproduct_kati/main.go b/cmd/multiproduct_kati/main.go index e4a05fc08..183f800a2 100644 --- a/cmd/multiproduct_kati/main.go +++ b/cmd/multiproduct_kati/main.go @@ -15,7 +15,6 @@ package main import ( - "bytes" "context" "flag" "fmt" @@ -280,7 +279,7 @@ func main() { log.Fatalf("Error creating std.log: %v", err) } - productLog := logger.New(&bytes.Buffer{}) + productLog := logger.New(f) productLog.SetOutput(filepath.Join(productLogDir, "soong.log")) productCtx := build.Context{&build.ContextImpl{