<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Sep 23, 2015 at 11:21 AM Christopher Larson &lt;<a href="mailto:kergoth@gmail.com">kergoth@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Christopher Larson &lt;<a href="mailto:chris_larson@mentor.com" target="_blank">chris_larson@mentor.com</a>&gt;<br>
<br>
This aligns with the behavior of bitbake proper. There is a bit of code<br>
duplication between knotty and scriptutils, but that&#39;s not new -- that was the<br>
case before as well. We should consider moving these logger configuration<br>
functions into bb.msg.<br>
<br>
The following changes since commit 2ad7308ee7166641eff99f3b9fe6794de143f6bc:<br>
<br>
  oeqa/utils/qemurunner.py: Remove duplicate message on LoggingThread start (2015-09-22 18:13:02 +0100)<br>
<br>
are available in the git repository at:<br>
<br>
  git://<a href="http://github.com/kergoth/openembedded-core" rel="noreferrer" target="_blank">github.com/kergoth/openembedded-core</a> scriptutils-log-improvements<br>
  <a href="https://github.com/kergoth/openembedded-core/tree/scriptutils-log-improvements" rel="noreferrer" target="_blank">https://github.com/kergoth/openembedded-core/tree/scriptutils-log-improvements</a><br>
<br>
Christopher Larson (3):<br>
  oe.scriptutils: enable color in a more flexible way<br>
  oe.scriptutils: add logger_setup_filters<br>
  recipetool, devtool: set up the logging filters<br></blockquote><div><br></div><div>Does anyone happen to know if there any objection to this? I just noticed this hasn&#39;t been merged yet. This makes the behavior of recipetool and devtool more consistent with bitbake itself by sending errors to stderr. Long term I&#39;d like to see warnings go there as well, but that could be more controversial and is a later task, I think this should go in as is. Eventually we should consolidate some of the logger setup and configuration logic between scriptutils and bitbake as well, but that was the case with or without this series<br></div></div></div>