On Mon, 2020-08-24 at 08:10 -0500, Joshua Watt wrote:
> The newer log handling uses Python's structure logging configuration
> [1], so you should be able to use whatever capabilities it has
> (including logging different domains/levels to a separate file). In
> fact, this is the only way logging is handled by core bitbake now;
> all of the other logging mechanisms used by the UI are additional
> configuration specified on top of the user's BB_LOGCONFIG file. If
> you are interested, you can see this in bitbake/lib/bb/ui/knotty.py.
> In that file is an additional tool that might be helpful. Around line
> 553, there are two commented lines of code:
> 
>     #import logging_tree
>     #logging_tree.printout()
> 
> uncommenting them and installing the logging_tree python package will
> make bitbake dump the entire structured logging configuration to
> stdout on startup so you can look at it.

On a slightly different but related note, could we remove the
debug_domains code now? I assume that can all be handled by
BB_LOGCONFIG?

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#50334): https://lists.yoctoproject.org/g/yocto/message/50334
Mute This Topic: https://lists.yoctoproject.org/mt/76366066/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to