config: added debug output of complete configuration

It might be useful to see the merged configuration in case of debugging.
This patch adds it to the debug output log level.

Signed-off-by: Claudius Heine <ch@denx.de>
This commit is contained in:
Claudius Heine 2017-10-13 12:20:03 +02:00 committed by Daniel Wagner
parent 15e6fb0a81
commit f7d2e5ae20

View File

@ -25,6 +25,7 @@
import os
import logging
import pprint
try:
from distro import id as get_distro_id
@ -88,6 +89,9 @@ class Config:
(self._config, missing_repo_names) = \
self.handler.get_config(repos=repo_paths)
logging.debug('Configuration from config file:\n%s',
pprint.pformat(self._config))
if target:
self._config['target'] = target
if task: