Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 778860 - sys-apps/portage: use [INFO], [WARN] and [ERROR] prefixes to ensure that severity of emerge messages is clearly distinguishable
Summary: sys-apps/portage: use [INFO], [WARN] and [ERROR] prefixes to ensure that seve...
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All All
: Normal normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-28 07:11 UTC by Zac Medico
Modified: 2024-04-14 00:21 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-10-06 00:17:59 UTC
I'm still interested in this (see mgorny's PR and the version I rebased) but it's fair to say it's not being actively worked on right now, so back to CONFIRMED.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-04-14 00:21:23 UTC
Heh, apt seems to be adopting this kind of thing: https://www.phoronix.com/news/Debian-APT-2.9-Released.