Bug 2375

Summary: [yocto-kernel,yocto-bsp] Use python logging module for errors, debug, info, etc
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Darren Hart <dvhart>
Component: meta-yoctoAssignee: Bruce Ashfield <bruce.ashfield>
Status: RESOLVED INVALID QA Contact:
Severity: enhancement    
Priority: Low CC: bluelightning, poky.bs.watcher, poky.watcher, randy.macleod, sgw
Version: 1.2   
Target Milestone: Future   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

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.