From cc074c62e4eee2ab31fb236237e8dafd9fd0d217 Mon Sep 17 00:00:00 2001 From: Kamil Páral Date: Feb 17 2017 11:28:27 +0000 Subject: logger: set koji log level to INFO The bug we depended on has been fixed in koji 1.10.0 (commit 554a2448761e7). Differential Revision: https://phab.qa.fedoraproject.org/D1134 --- diff --git a/libtaskotron.spec b/libtaskotron.spec index 6825f71..f0aa405 100644 --- a/libtaskotron.spec +++ b/libtaskotron.spec @@ -1,7 +1,7 @@ Name: libtaskotron # NOTE: if you update version, *make sure* to also update `libtaskotron/__init__.py` Version: 0.4.18 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Taskotron Support Library License: GPLv3 @@ -62,14 +62,14 @@ Summary: Fedora specific module for libtaskotron Requires: createrepo Requires: dnf >= 0.6.4 -Requires: koji +Requires: koji >= 1.10.0 Requires: libtaskotron-core = %{version}-%{release} Requires: mash Requires: python-fedora >= 0.8.0 Requires: python-hawkey >= 0.4.13-1 Requires: python-munch >= 2.0.2 Requires: rpm-python -BuildRequires: koji +BuildRequires: koji >= 1.10.0 BuildRequires: mash BuildRequires: python-fedora >= 0.8.0 BuildRequires: python-hawkey >= 0.4.13-1 @@ -170,6 +170,9 @@ install -d %{buildroot}/%{_sharedstatedir}/taskotron/images %{python2_sitelib}/libtaskotron/ext/disposable/* %changelog +* Fri Feb 17 2017 Kamil Páral - 0.4.18-4 +- require koji >= 1.10.0 because of T910 + * Fri Feb 10 2017 Kamil Páral - 0.4.18-3 - add python-pytest-cov builddep because the test suite now needs it, and python-rpmfluff because we're missing it diff --git a/libtaskotron/logger.py b/libtaskotron/logger.py index 6f4acc3..23c3e2c 100644 --- a/libtaskotron/logger.py +++ b/libtaskotron/logger.py @@ -94,9 +94,7 @@ def _set_verbosity_levels(): should be only called when running as the main script.''' log.setLevel(logging.DEBUG) logging.getLogger('resultsdb_api').setLevel(logging.DEBUG) - # TODO: set this to INFO once this is resolved: - # https://fedorahosted.org/koji/ticket/317 - logging.getLogger('koji').setLevel(logging.DEBUG) + logging.getLogger('koji').setLevel(logging.INFO) logging.getLogger('testcloud').setLevel(logging.DEBUG)