[elbe-devel] [PATCH 06/32] Add logging to stdout for command buildsdk

dion at linutronix.de dion at linutronix.de
Fri Jun 14 22:13:20 CEST 2019


From: Olivier Dion <dion at linutronix.de>

Signed-off-by: Olivier Dion <dion at linutronix.de>
---
 elbepack/commands/buildsdk.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/elbepack/commands/buildsdk.py b/elbepack/commands/buildsdk.py
index 5b4debfc..a5a4fdc4 100644
--- a/elbepack/commands/buildsdk.py
+++ b/elbepack/commands/buildsdk.py
@@ -10,6 +10,7 @@ import sys
 
 from elbepack.elbeproject import ElbeProject
 from elbepack.elbexml import ValidationError
+from elbepack.log import log
 
 
 def run_command(argv):
@@ -29,6 +30,7 @@ def run_command(argv):
         sys.exit(20)
 
     try:
+        log.stdout()
         project = ElbeProject(args[0], override_buildtype=opt.buildtype,
                               skip_validate=opt.skip_validation)
     except ValidationError as e:
-- 
2.11.0




More information about the elbe-devel mailing list