[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] rblib/bugs: do not warn about the failed UDD connection at every query
Mattia Rizzolo
gitlab at salsa.debian.org
Sat Jul 21 12:40:20 BST 2018
Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net
Commits:
18346336 by Mattia Rizzolo at 2018-07-21T13:39:52+02:00
rblib/bugs: do not warn about the failed UDD connection at every query
this is causing huge logs in recurring jobs that are filling the disk
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
- - - - -
1 changed file:
- bin/rblib/bugs.py
Changes:
=====================================
bin/rblib/bugs.py
=====================================
--- a/bin/rblib/bugs.py
+++ b/bin/rblib/bugs.py
@@ -58,9 +58,9 @@ class Udd:
def query(self, query):
if not self._conn:
- log.error('There has been an error connecting to UDD. '
+ log.debug('There has been an error connecting to UDD. '
'Look for a previous error for more information.')
- log.error('Failing nicely, returning an empty response.')
+ log.debug('Failing nicely, returning an empty response.')
return []
try:
cursor = self._conn.cursor()
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/1834633684f4be2ddee9a36f643675540d475465
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/1834633684f4be2ddee9a36f643675540d475465
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20180721/aa6bfbb9/attachment.html>
More information about the Qa-jenkins-scm
mailing list