<?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>304</bug_id>
          
          <creation_ts>2010-09-09 08:56:41 +0000</creation_ts>
          <short_desc>Python tasks should output all logging data, similar to shell tasks</short_desc>
          <delta_ts>2011-08-15 09:47:24 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>0.9</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>Patch our for review</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mark Hatle">mark.hatle</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>ke.yu</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>9703</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2010-09-09 08:56:41 +0000</bug_when>
    <thetext>Python tasks should output all logging data, similar to how the shell tasks do it.

For example, if something fails in do_fetch, it can be unclear as to what was attempted to be run, any output from the tools run, or diagnostic messages that may have occured.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10315</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2010-10-11 07:01:13 +0000</bug_when>
    <thetext>See bug 377.  This is the opposite issue to that problem.

We need to ensure that all of the messages generated by a task: note, warning, error, debug... get logged to the task logs, similar to what happens already via shell scripts that run.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10316</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2010-10-11 07:02:26 +0000</bug_when>
    <thetext>Specifically, the debug messages for the task should go to the logfile even if they don&apos;t go to the console.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11071</commentid>
    <comment_count>3</comment_count>
    <who name="Ke Yu">ke.yu</who>
    <bug_when>2010-12-09 17:42:45 +0000</bug_when>
    <thetext>Richard, it is already fixed, right?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12057</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-02-24 06:35:11 +0000</bug_when>
    <thetext>Specifically at the bitbake level we need to separate the level handling for the different handlers. The handler setup in bin/bitbake should be controlled by the current level handling but the handler in build.py should have the option of using a different log level. The core logger should have its level left unset.

This is an invasive change for 1.0 at this point so I&apos;d prefer to leave it for 1.1. The underlying problem of log data not making it to the log files has been fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14564</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-07-06 09:08:08 +0000</bug_when>
    <thetext>http://lists.linuxtogo.org/pipermail/bitbake-devel/2011-July/001034.html is a start at what we&apos;d need to resolve this bug</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15466</commentid>
    <comment_count>6</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-08-15 09:47:24 +0000</bug_when>
    <thetext>The final pieces of this merged in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=7ee93b206a6389e6eb7b9440dc2fae801c77bc9b</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>