MYNEWT-557 Print DEBUG message when overriding undefined setting

Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/commit/ffdbc54f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/ffdbc54f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/ffdbc54f

Branch: refs/heads/mynewt_1_0_0
Commit: ffdbc54fc8b80c2f08f9990a019e5de71c80649d
Parents: c2e1b6c
Author: cwanda <[email protected]>
Authored: Thu Feb 16 21:15:43 2017 -0800
Committer: Marko Kiiskila <[email protected]>
Committed: Mon Mar 6 13:35:46 2017 -0800

----------------------------------------------------------------------
 newt/builder/targetbuild.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/ffdbc54f/newt/builder/targetbuild.go
----------------------------------------------------------------------
diff --git a/newt/builder/targetbuild.go b/newt/builder/targetbuild.go
index b8ac724..f6bc2f6 100644
--- a/newt/builder/targetbuild.go
+++ b/newt/builder/targetbuild.go
@@ -191,7 +191,7 @@ func (t *TargetBuilder) validateAndWriteCfg() error {
        warningText := strings.TrimSpace(t.res.WarningText())
        if warningText != "" {
                for _, line := range strings.Split(warningText, "\n") {
-                       log.Warn(line)
+                       log.Debugf(line)
                }
        }
 

Reply via email to