<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>8099</bug_id>
          
          <creation_ts>2015-08-05 03:54:55 +0000</creation_ts>
          <short_desc>Suggestion: prefix task log messages with recipe+task</short_desc>
          <delta_ts>2016-03-16 23:42:04 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BitBake</product>
          <component>bitbake</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Christopher Larson">kergoth</reporter>
          <assigned_to name="Christopher Larson">kergoth</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>52821</commentid>
    <comment_count>0</comment_count>
    <who name="Christopher Larson">kergoth</who>
    <bug_when>2015-08-05 03:54:55 +0000</bug_when>
    <thetext>Quite often, classes end up adding information about the recipe/task the messages are associated with, and they do so quite often, and in inconsistent ways. I think there would be value in the bitbake UI associating all log messages generated by a task with that recipe+task, so the user always knows where they came from, and the code generating the messages can stop doing so themselves in inconsistent ways.

See https://gist.github.com/kergoth/50af1ca12692d39f0338 for one prototype for knotty, though it might be cleaner to do it in a subclass of the BBLogFormatter rather than modifying the message in the event loop.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60044</commentid>
    <comment_count>1</comment_count>
    <who name="Christopher Larson">kergoth</who>
    <bug_when>2016-03-16 23:42:04 +0000</bug_when>
    <thetext>Implemented by bitbake rev 792b759e59e31d2e43d525a6e50d866b4f51f072 (poky rev a25858982ae313a13be95692496e4983c7bd4251).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>