Merge "Send soong output to std.log in multiproduct_kati"

This commit is contained in:
Treehugger Robot
2017-11-12 01:33:47 +00:00
committed by Gerrit Code Review

View File

@@ -15,7 +15,6 @@
package main package main
import ( import (
"bytes"
"context" "context"
"flag" "flag"
"fmt" "fmt"
@@ -280,7 +279,7 @@ func main() {
log.Fatalf("Error creating std.log: %v", err) log.Fatalf("Error creating std.log: %v", err)
} }
productLog := logger.New(&bytes.Buffer{}) productLog := logger.New(f)
productLog.SetOutput(filepath.Join(productLogDir, "soong.log")) productLog.SetOutput(filepath.Join(productLogDir, "soong.log"))
productCtx := build.Context{&build.ContextImpl{ productCtx := build.Context{&build.ContextImpl{