Bug 2375 - [yocto-kernel,yocto-bsp] Use python logging module for errors, debug, info, etc
Summary: [yocto-kernel,yocto-bsp] Use python logging module for errors, debug, info, etc
Status: RESOLVED INVALID
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 1.2
Hardware: x86 Multiple
: Low enhancement
Target Milestone: Future
Assignee: Bruce Ashfield
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-04-27 23:56 UTC by Darren Hart
Modified: 2019-06-06 16:46 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darren Hart 2012-04-27 23:56:09 UTC
Python provides a "logging" module which makes dealing with multiple log levels trivial. It enables increased instrumentation and automatic selection of the right file descriptor. This avoids having to use "print" for all the messages in the tool.
Comment 1 Darren Hart 2012-05-02 16:50:38 UTC
Bumping to P3.
Comment 2 Randy MacLeod 2019-06-06 15:28:29 UTC
Yocto-bsp is gone but the comments apply to the yocto kernel tools.
Comment 3 Bruce Ashfield 2019-06-06 15:31:24 UTC
(In reply to comment #2)
> Yocto-bsp is gone but the comments apply to the yocto kernel tools.

Not really. The yocto kernel tools are shell, and will stay that way. So the comment doesn't apply to anything that is directly maintained there.
Comment 4 Randy MacLeod 2019-06-06 16:46:30 UTC
It's not clear to me what Darren was thinking but Bruce says it's not relevant so I'm closing the defect.