All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Lower priority of debug messages that should not be shown on the console
@ 2020-02-21 20:52 Adrian Bunk
  2020-02-22 11:57 ` Andreas Müller
  2020-02-22 15:54 ` Richard Purdie
  0 siblings, 2 replies; 11+ messages in thread
From: Adrian Bunk @ 2020-02-21 20:52 UTC (permalink / raw)
  To: bitbake-devel

Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
 bitbake/lib/bb/runqueue.py | 8 ++++----
 bitbake/lib/bb/siggen.py   | 6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 71108eeed7..f6bd8db8ce 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -2054,7 +2054,7 @@ class RunQueueExecute:
         self.update_holdofftasks()
 
         if not self.sq_live and not self.sqdone and not self.sq_deferred and not self.updated_taskhash_queue and not self.holdoff_tasks:
-            logger.info("Setscene tasks completed")
+            logger.debug(1, "Setscene tasks completed")
 
             err = self.summarise_scenequeue_errors()
             if err:
@@ -2259,7 +2259,7 @@ class RunQueueExecute:
             self.updated_taskhash_queue.remove((tid, unihash))
 
             if unihash != self.rqdata.runtaskentries[tid].unihash:
-                logger.info("Task %s unihash changed to %s" % (tid, unihash))
+                logger.debug(1, "Task %s unihash changed to %s" % (tid, unihash))
                 self.rqdata.runtaskentries[tid].unihash = unihash
                 bb.parse.siggen.set_unihash(tid, unihash)
                 toprocess.add(tid)
@@ -2304,7 +2304,7 @@ class RunQueueExecute:
                 elif tid in self.scenequeue_covered or tid in self.sq_live:
                     # Already ran this setscene task or it running. Report the new taskhash
                     bb.parse.siggen.report_unihash_equiv(tid, newhash, origuni, newuni, self.rqdata.dataCaches)
-                    logger.info("Already covered setscene for %s so ignoring rehash (remap)" % (tid))
+                    logger.debug(1, "Already covered setscene for %s so ignoring rehash (remap)" % (tid))
                     remapped = True
 
                 if not remapped:
@@ -2405,7 +2405,7 @@ class RunQueueExecute:
 
         for (tid, harddepfail, origvalid) in update_tasks:
             if tid in self.sqdata.valid and not origvalid:
-                logger.info("Setscene task %s became valid" % tid)
+                logger.debug(1, "Setscene task %s became valid" % tid)
             if harddepfail:
                 self.sq_task_failoutright(tid)
 
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index c2d0c736cf..d5c5c5c0af 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -606,7 +606,7 @@ class SignatureGeneratorUniHashMixIn(object):
                 method = method + self.extramethod[tid]
 
             data = self.client().report_unihash_equiv(taskhash, method, wanted_unihash, extra_data)
-            bb.note('Reported task %s as unihash %s to %s (%s)' % (tid, wanted_unihash, self.server, str(data)))
+            bb.debug(1, 'Reported task %s as unihash %s to %s (%s)' % (tid, wanted_unihash, self.server, str(data)))
 
             if data is None:
                 bb.warn("Server unable to handle unihash report")
@@ -615,9 +615,9 @@ class SignatureGeneratorUniHashMixIn(object):
             finalunihash = data['unihash']
 
             if finalunihash == current_unihash:
-                bb.note('Task %s unihash %s unchanged by server' % (tid, finalunihash))
+                bb.debug(1, 'Task %s unihash %s unchanged by server' % (tid, finalunihash))
             elif finalunihash == wanted_unihash:
-                bb.note('Task %s unihash changed %s -> %s as wanted' % (tid, current_unihash, finalunihash))
+                bb.debug(1, 'Task %s unihash changed %s -> %s as wanted' % (tid, current_unihash, finalunihash))
                 self.set_unihash(tid, finalunihash)
                 return True
             else:
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-03-06 11:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-21 20:52 [PATCH] Lower priority of debug messages that should not be shown on the console Adrian Bunk
2020-02-22 11:57 ` Andreas Müller
2020-02-22 22:05   ` Adrian Bunk
2020-02-22 15:54 ` Richard Purdie
2020-02-23 19:51   ` Adrian Bunk
2020-02-23 23:53     ` Richard Purdie
2020-02-24  5:49       ` Adrian Bunk
2020-02-24  9:12         ` Richard Purdie
2020-03-06 10:24           ` Adrian Bunk
2020-03-06 10:47             ` Richard Purdie
2020-03-06 11:18               ` Alexander Kanavin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.