diff options
author | Cristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> | 2022-10-11 19:06:42 +0200 |
---|---|---|
committer | Cristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> | 2022-10-13 21:04:40 +0200 |
commit | 7e44e3daf13f07c4a70cfded896c389ffc3b7bc2 (patch) | |
tree | fa291aa0b69b2a55bc237596483b109c737ce58a /coin_test_instructions.py | |
parent | 4d1c05cb04ec731893ca855d5ba08a1d3c669ca4 (diff) |
build: replace distutils.log by simple logger
Adding simple logger based on the logging module
to replace the distutils.log one.
Task-number: PYSIDE-2079
Change-Id: I2a4996a57be701552005b57d2b1a251b9fc44c41
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'coin_test_instructions.py')
-rw-r--r-- | coin_test_instructions.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/coin_test_instructions.py b/coin_test_instructions.py index 461805043..cd521f044 100644 --- a/coin_test_instructions.py +++ b/coin_test_instructions.py @@ -1,14 +1,16 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only import os +import logging import site import sys +from build_scripts.log import log from build_scripts.options import has_option, log, option_value from build_scripts.utils import (expand_clang_variables, get_ci_qmake_path, get_qtci_virtualEnv, remove_tree, run_instruction) -log.set_verbosity(log.INFO) +log.setLevel(logging.INFO) # Values must match COIN thrift CI_HOST_OS = option_value("os") |