aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2017-11-11 15:44:51 -0800
committerDan Willemsen <dwillemsen@google.com>2017-11-11 15:44:51 -0800
commitf196396a1c0e734c247c3d276eeac1e125524a41 (patch)
treed2999c06c822811aeb84d7089800fba5a1c3241f /cmd
parent15a8e793f3dc54dbefd3f1fae8eea0a8919e606b (diff)
downloadbuild_soong-f196396a1c0e734c247c3d276eeac1e125524a41.tar.gz
build_soong-f196396a1c0e734c247c3d276eeac1e125524a41.tar.bz2
build_soong-f196396a1c0e734c247c3d276eeac1e125524a41.zip
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
Diffstat (limited to 'cmd')
-rw-r--r--cmd/multiproduct_kati/main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/multiproduct_kati/main.go b/cmd/multiproduct_kati/main.go
index e4a05fc0..183f800a 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{