Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 320905

Summary: sys-apps/portage: show a warning (similar to new news items one) when unread elog files are present in LOGDIR
Product: Portage Development Reporter: Pacho Ramos <pacho>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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 :-)