Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 320905 - sys-apps/portage: show a warning (similar to new news items one) when unread elog files are present in LOGDIR
Summary: sys-apps/portage: show a warning (similar to new news items one) when unread ...
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-21 16:37 UTC by Pacho Ramos
Modified: 2010-05-22 07:59 UTC (History)
0 users

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 Pacho Ramos gentoo-dev 2010-05-21 16:37:26 UTC
Reading http://bugs.gentoo.org/show_bug.cgi?id=320511#c3 seems that some people don't read elog messages. In my case, I periodically check my /var/log/portage/elog/* for new elog messages and, then, I remove that files. 
Maybe emerge could enforce this behavior showing a message when files are present in LOGDIR (that message would also show LOGDIR location to let people find them easily)

Thanks a lot

Reproducible: Always
Comment 1 Zac Medico gentoo-dev 2010-05-22 02:22:16 UTC
We might need a better way to "mark as read" than deleting the logs.

Also, the current default PORTAGE_ELOG_SYSTEM setting in make.globals is "save_summary echo", so the only file that's created by default is summary.log. If we're going to create a "mark as read" system, then we can probably disable the "echo" module by default since that tends to flood the terminal and thus be ignored be the user.
Comment 2 Pacho Ramos gentoo-dev 2010-05-22 07:59:29 UTC
It would be much better of course, I simply wanted to "show the problem" and suggest the first proposition I thought about :-)