diff options
author | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2021-08-26 15:24:12 +0200 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2021-08-26 15:24:12 +0200 |
commit | 77458de033ce302d259e95b9a66c525fcf822dfc (patch) | |
tree | 644655795c04ff3f2cbe16b2bf2b48fbda48889f /subr | |
parent | 66e45aa9c0275f67a6690259e55b3d0bccbd5d0b (diff) | |
download | midipix_build-77458de033ce302d259e95b9a66c525fcf822dfc.tar.bz2 midipix_build-77458de033ce302d259e95b9a66c525fcf822dfc.tar.xz |
Log messages at {info,notice,verbose} and {,-v,-vv}.
Diffstat (limited to 'subr')
-rw-r--r-- | subr/build_init.subr | 4 | ||||
-rw-r--r-- | subr/ex_pkg.subr | 2 | ||||
-rw-r--r-- | subr/ex_pkg_dispatch.subr | 4 | ||||
-rw-r--r-- | subr/pkg_fetch_download.subr | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/subr/build_init.subr b/subr/build_init.subr index 3d8a42c9..c677f3ab 100644 --- a/subr/build_init.subr +++ b/subr/build_init.subr @@ -237,8 +237,8 @@ buildp_init_getopts() { notice) rtl_log_set_lvl 1; ;; verbose) rtl_log_set_lvl 2; ;; build|install|xtrace) - ;; - fileops) rtl_fileop_set_log 1; ;; + rtl_log_set_lvl 1; ;; + fileops) rtl_log_set_lvl 1; rtl_fileop_set_log 1; ;; *) _rc=1; _status="Error: invalid verbosity level \`${_level}'"; ;; esac; done; diff --git a/subr/ex_pkg.subr b/subr/ex_pkg.subr index c1140d4a..90cdf3ca 100644 --- a/subr/ex_pkg.subr +++ b/subr/ex_pkg.subr @@ -120,7 +120,7 @@ ex_pkg_load_vars() { ../midipix_build.vars \ ./midipix.env; do if [ -r "${_fname}" ]; then - rtl_log_msg notice "Sourcing \`%s'." "${_fname}"; + rtl_log_msg verbose "Sourcing \`%s'." "${_fname}"; rtl_fileop source "${_fname}"; fi; done; diff --git a/subr/ex_pkg_dispatch.subr b/subr/ex_pkg_dispatch.subr index 4f6c3744..255aeccc 100644 --- a/subr/ex_pkg_dispatch.subr +++ b/subr/ex_pkg_dispatch.subr @@ -230,10 +230,10 @@ ex_pkg_dispatch() { _perc_group="$(rtl_percentage "${EXP_PKG_DISPATCH_GROUP_CUR}" "${EXP_PKG_DISPATCH_GROUP_MAX}")"; if "${_dispatch_fn}" start_group "${_group_name}" "" "${EXP_PKG_DISPATCH_GROUP_CUR}" "${EXP_PKG_DISPATCH_GROUP_MAX}" "${_perc_group}"; then if rtl_fileop mkdir "${_workdir}"\ - && rtl_log_msg notice "Resolving \`%s' dependencies..." "${_group_name}"\ + && rtl_log_msg verbose "Resolving \`%s' dependencies..." "${_group_name}"\ && exp_pkg_dispatch_expand_packages "${_checkfl}" "${_forcefl}" "${_group_name}" "${_restart}" "${_reversefl}"\ && exp_pkg_dispatch_complete "${_dispatch_fn}" "${_group_name}" "${EX_PKG_DISABLED}" "${EX_PKG_FINISHED}"\ - && rtl_log_msg notice "Resolved \`%s' dependencies." "${_group_name}"\ + && rtl_log_msg verbose "Resolved \`%s' dependencies." "${_group_name}"\ && EXP_PKG_DISPATCH_COUNT_MAX="$(rtl_llength "${EX_PKG_NAMES}")"\ && [ "${EXP_PKG_DISPATCH_COUNT_MAX}" -gt 0 ]; then _pkg_names="$(rtl_lconcat "${_pkg_names}" "${EX_PKG_NAMES}")"; diff --git a/subr/pkg_fetch_download.subr b/subr/pkg_fetch_download.subr index 7a89454e..8a33783f 100644 --- a/subr/pkg_fetch_download.subr +++ b/subr/pkg_fetch_download.subr @@ -20,7 +20,7 @@ pkg_fetch_download_clean_dlcache() { done; if [ "${_skipfl}" -eq 0 ]; then _fname="${_dlcachedir}/${_pkg_name}/${_fname}"; - rtl_log_msg notice "Deleting redundant file \`%s' for package \`%s'." "${_fname}" "${_pkg_name}"; + rtl_log_msg verbose "Deleting redundant file \`%s' for package \`%s'." "${_fname}" "${_pkg_name}"; rtl_fileop rm "${_fname}"; fi; done; |