Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 778860

Summary: sys-apps/portage: use [INFO], [WARN] and [ERROR] prefixes to ensure that severity of emerge messages is clearly distinguishable
Product: Portage Development Reporter: Zac Medico <zmedico>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: IN_PROGRESS ---    
Severity: normal CC: gentoo, gentoo, kurly, mgorny, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
See Also:
Package list:
Runtime testing required: ---

Description Zac Medico gentoo-dev 2021-03-28 07:11:30 UTC
Since emerge outputs many different kinds of warning messages, it is important to clearly indicate when those messages are non-fatal, in order to ensure that they are distinguishable from fatal errors. Maybe a prefix like [WARN] would be helpful for this.
Comment 1 Zac Medico gentoo-dev 2021-03-28 07:28:13 UTC
The message from bug 472104 is one that might be displayed with an [INFO] prefix.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-09-29 09:36:06 UTC
My elog PR should be good enough for this.  It's a bit of compromise between verbosity and short output as it uses two-letter codes but this should be good enough to distinguish them.