Configuring Gentoo to record einfo messages during the emerging of packages
The first file that needs editing is /etc/make.conf. This is where we tell the system what we want to log and where to log it.
Remember to create the required locations (depending on $PORT_LOGDIR)
# This sets where to log
# If you enable this a full log will be created at $PORT_LOGDIR and
# elogs at $PORT_LOGDIR/elog. Useful to enable when debugging emerge
# If disabled elog will be stored in /var/log/portage/elog by default.
# This sets what to log
PORTAGE_ELOG_CLASSES="warn error log info"
# This sets how to log
# Other options availble see /etc/make.conf.example for details
To make reading the data you are logging a little easier you may want to emerge a log viewer.
Emerge elogv - currently only marked as stable on AMD64
A user will need to be a member of the portage group to use this.
Hint: On running elogv press h to open the help menu
Hint: elogv can be used to manage/delete the files in /var/log/portage/elog
Note: It is worth investigating a method of managing of the files in /var/log/portage
Note: It seems the content of this location can be deleted if it is not required and will not even be created if $PORT_LOGDIR is disabled.