diff options
| author | Cristián Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2022-10-20 16:33:01 +0200 |
|---|---|---|
| committer | Cristián Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2023-02-02 00:21:18 +0100 |
| commit | f799f1dd678cd17b59436a0c3a734135841eaa10 (patch) | |
| tree | daec6b6ce7bb7e01db9c0409ac80ca49c685a0c8 /build_scripts/platforms/unix.py | |
| parent | 945424bd2e94673a465460c4c4a32b7738b912e0 (diff) | |
build: introduce log level
Removed the "quiet" and "verbose" older approach,
and introduced a 3-level configuration so we can switch
between them depending of the amount of output we need.
By default, the log level is set to INFO,
but it can be changed to VERBOSE and QUIET.
The older "--verbose-build" and "--quiet" options were deprecated.
The new way for setting the log level is:
--log-level=quiet
--log-level=verbose
--log-level=info (default)
The default option was made less verbose, controlling the output
of the logging module, and cmake:
for verbose it uses DEBUG, quiet uses ERROR, and no option uses INFO.
Change-Id: Ida0289e3ea0ed09b7489a7513254137bba186fd0
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'build_scripts/platforms/unix.py')
| -rw-r--r-- | build_scripts/platforms/unix.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build_scripts/platforms/unix.py b/build_scripts/platforms/unix.py index cca8588de..0c5df734c 100644 --- a/build_scripts/platforms/unix.py +++ b/build_scripts/platforms/unix.py @@ -5,6 +5,7 @@ import fnmatch import sys from pathlib import Path +from ..log import log from ..config import config from ..options import OPTION from ..utils import copydir, copyfile, copy_qt_metatypes, makefile @@ -41,6 +42,7 @@ def _copy_gui_executable(name, _vars=None): def prepare_packages_posix(pyside_build, _vars, cross_build=False): executables = [] libexec_executables = [] + log.info("Copying files...") destination_dir = Path("{st_build_dir}/{st_package_name}".format(**_vars)) destination_qt_dir = destination_dir / "Qt" |
