summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2021-11-30 12:50:08 -0700
committerCommit Bot <commit-bot@chromium.org>2021-11-30 21:40:28 +0000
commitd392e5dd56d59c8ce2c8f4423d8a4c2c81d0bddb (patch)
tree57d260c010269c257816fd3000107c5f9091c446
parent234b3ea67bb17f90d04a017de8f87433bf474e81 (diff)
downloadchrome-ec-d392e5dd56d59c8ce2c8f4423d8a4c2c81d0bddb.tar.gz
zephyr: zmake: Drop the log level of some config related logging
INFO can be a bit spammy for these logs, use DEBUG instead. BUG=none BRANCH=none TEST="zmake list-projects" has no output spam Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: I3f7b919630bf9b5b36c630600f8737c4adba9ab4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3309363 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
-rw-r--r--zephyr/zmake/zmake/project.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/zephyr/zmake/zmake/project.py b/zephyr/zmake/zmake/project.py
index 0e2e97fd14..8e90372a35 100644
--- a/zephyr/zmake/zmake/project.py
+++ b/zephyr/zmake/zmake/project.py
@@ -55,10 +55,10 @@ def load_config_file(path):
exec(code, config_globals)
# Next, load the BUILD.py
- logging.info("Loading config file %s", path)
+ logging.debug("Loading config file %s", path)
code = compile(path.read_bytes(), str(path), "exec")
exec(code, config_globals)
- logging.info("Config file %s defines %s projects", path, len(projects))
+ logging.debug("Config file %s defines %s projects", path, len(projects))
return projects
@@ -71,7 +71,7 @@ def find_projects(root_dir):
Returns:
A dictionary mapping project names to Project objects.
"""
- logging.info("Finding zmake targets under '%s'.", root_dir)
+ logging.debug("Finding zmake targets under '%s'.", root_dir)
found_projects = {}
for path in pathlib.Path(root_dir).rglob("BUILD.py"):
for project in load_config_file(path):