[gnome-continuous-yocto/gnomeostree-3.28-rocko: 5233/8267] scripts/yocto-compat-layer.py: Dump log to stdout instead of stderr



commit 1e3ef54408da5625e3558602cae409663e03c8f7
Author: Aníbal Limón <anibal limon linux intel com>
Date:   Mon Mar 20 14:51:02 2017 -0600

    scripts/yocto-compat-layer.py: Dump log to stdout instead of stderr
    
    The common unix tools uses stdout as standard for log output, by default
    python logging uses stderr if not stream is specified.
    
    [YOCTO #11160]
    
    (From OE-Core rev: 95ad04f7daed17bde5be5fc264f6c731fecfdfa9)
    
    Signed-off-by: Aníbal Limón <anibal limon linux intel com>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 scripts/yocto-compat-layer.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/scripts/yocto-compat-layer.py b/scripts/yocto-compat-layer.py
index 09dc5bf..8996fff 100755
--- a/scripts/yocto-compat-layer.py
+++ b/scripts/yocto-compat-layer.py
@@ -31,7 +31,7 @@ DEFAULT_OUTPUT_LOG = '%s-%s.log' % (PROGNAME,
 OUTPUT_LOG_LINK = "%s.log" % PROGNAME
 CASES_PATHS = [os.path.join(os.path.abspath(os.path.dirname(__file__)),
                 'lib', 'compatlayer', 'cases')]
-logger = scriptutils.logger_create(PROGNAME)
+logger = scriptutils.logger_create(PROGNAME, stream=sys.stdout)
 
 def test_layer_compatibility(td, layer):
     from compatlayer.context import CompatLayerTestContext


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]