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/da53ca97 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/da53ca97 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/da53ca97 Branch: refs/heads/master Commit: da53ca97c5d3f00d8a845638f294ea1f7587ff68 Parents: efe36b3 Author: cwanda <[email protected]> Authored: Thu Feb 16 21:15:43 2017 -0800 Committer: cwanda <[email protected]> Committed: Thu Feb 16 21:15:43 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/da53ca97/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) } }
