Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904702 - sys-apps/portage - emerge --config - einfo messages not saved in /var/log/portage/elog/
Summary: sys-apps/portage - emerge --config - einfo messages not saved in /var/log/por...
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-20 10:22 UTC by Horst Prote
Modified: 2023-04-23 09:57 UTC (History)
1 user (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 Horst Prote 2023-04-20 10:22:25 UTC
When doing an "emerge --config" the einfo (presumably elog, ewarn, ..., too) messages are not written to an elog file in /var/log/portage/elog/ like it is done in all other ebuild phases.

Reproducible: Always

Steps to Reproduce:
The simplest test that doesn't change anything in your system would be:
1. emerge --config sys-libs/timezone-data
2. elogv
Actual Results:  
Step 1 writes " * Assuming your /etc/localtime symlink is what you want; skipping update." on the screen and into a file in /var/log/portage/ but no elog file.
Step 2 says:
There aren't any elog files on /var/log/portage/elog

Expected Results:  
Step 1 writing an elog file.
Step 2 showing the elog file with the message.
Comment 1 Mike Gilbert gentoo-dev 2023-04-20 15:58:38 UTC
Please share the output of the following command:

portageq envvar PORTAGE_ELOG_CLASSES
Comment 2 Mike Gilbert gentoo-dev 2023-04-20 20:15:33 UTC
einfo messages are only saved to the /var/log/portage/elog directory if PORTAGE_ELOG_CLASSES contains "info".

The default setting for PORTAGE_ELOG_CLASSES is "log warn error".

Please re-open if you can reproduce the issue with "info" in PORTAGE_ELOG_CLASSES.
Comment 3 Horst Prote 2023-04-20 20:27:44 UTC
(In reply to Mike Gilbert from comment #1)
> Please share the output of the following command:
> 
> portageq envvar PORTAGE_ELOG_CLASSES

The output is
info log warn error qa