Gentoo: portage 2.1 elog feature
Translation of the original in Catalan. Read it in: CatalàCastellano
Version 2.1 of Gentoo's portage, which went into stable mode a few months ago, really is an important leap in the package management of this metadistribution. So if you have not yet looked at the improvements it includes I highly recommend it. The people at linux.com have written an article that talks about the 'secrets' of this new version of portage (local). In fact, for the most part I am already a regular user, for example of esearch or eix. But there is a novelty that I have liked very much and that I did not know about. You can also find it in the previous article. But I will give you a quick rundown of it.
Basically it is about two variables that are defined in make.conf. With these variables we can define what log level the emerge command has to show us while it compiles a package and we can also define whether we want the output of messages to be saved in a file in /var/log/elog so that when we compile more than one package consecutively we can see if it has had any problem. In fact, where I see the most use for it is in the typical package that gives problems after installing correctly. Well then, we can check whether any of its parts has failed when compiling.
The variables that have to be defined in make.conf:
# This sets what to log
PORTAGE_ELOG_CLASSES="warn error log"
# And this is how to do it
PORTAGE_ELOG_SYSTEM="save"