<div dir="ltr"><div>&gt; <span style="font-size:12.8px">all </span><span style="font-size:12.8px">messages are put into the log but at differing log levels.</span></div><div><br></div><div>But there aren&#39;t the &quot;log levels&quot; in the file (as NOTE, WARN, ERROR) now, it writes only P, error message and type of QA check (not the selected severity of it, like bb.error, bb.warn, bb.note used in the function for normal output).</div><div><br></div><div>See the function above package_qa_handle_error:</div><div><br></div><div>def package_qa_write_error(type, error, d):</div><div>    logfile = d.getVar(&#39;QA_LOGFILE&#39;)</div><div>    if logfile:</div><div>        p = d.getVar(&#39;P&#39;)</div><div>        with open(logfile, &quot;a+&quot;) as f:</div><div>            f.write(&quot;%s: %s [%s]\n&quot; % (p, error, type))</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 21, 2017 at 11:07 PM, Richard Purdie <span dir="ltr">&lt;<a href="mailto:richard.purdie@linuxfoundation.org" target="_blank">richard.purdie@linuxfoundation.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, 2017-08-21 at 22:56 +0200, Martin Jansa wrote:<br>
&gt; * QA check which aren&#39;t included in WARN_QA and ERROR_QA are shown<br>
&gt;   during the build only as NOTE message (not shown at all with<br>
&gt; default<br>
&gt;   knotty setting), so it might be surprising to see them later in<br>
&gt; qa.log<br>
&gt;   file<br>
&gt;<br>
&gt; Signed-off-by: Martin Jansa &lt;<a href="mailto:Martin.Jansa@gmail.com">Martin.Jansa@gmail.com</a>&gt;<br>
&gt; ---<br>
&gt;  meta/classes/insane.bbclass | 3 ++-<br>
&gt;  1 file changed, 2 insertions(+), 1 deletion(-)<br>
<br>
</span>I&#39;ve just been having a look at this and I think its by design, all<br>
messages are put into the log but at differing log levels. I think the<br>
correct thing to do may be to filter it as you proposed in your CI<br>
system.<br>
<br>
Any other opinions?<br>
<br>
Cheers,<br>
<br>
Richard<br>
</blockquote></div><br></div>