On 10/05/06, Neil Bothwick <[EMAIL PROTECTED]> wrote:
On Tue, 9 May 2006 18:22:24 -0700, Daevid Vincent wrote:

> In /etc/make.conf I have PORT_LOGDIR="/var/tmp/portage-logs"
>
> This is great in that I can then read through the billions of .log
> files to see if there are any post install manual tasks I have to do.
>
> However, a good majority of them are just compilation output. I really
> don't need or care to see those -- especially if the compilation
> concluded sans errors.
>
> I just want the juicy ones. The ones that tell me to take further
> action.

There are two log files for each emerge, the smaller one contains the
"juicy" bits.

The latest portage, still in testing, has an option to save the relevant
messages to a log directory or email them to you. You can choose the
level of messages you receive; info, warn or error.

There's also enotice - although I think its deprecated?

A crude way of only checking the warning log files is by making a
judgment call on their size:
=========================
-rw-r--r-- 1 root    portage   18944 May  6 12:12 3799-rsync-2.6.8.log
-rw-r--r-- 1 root    portage       0 May  6 12:13 3800-rsync-2.6.0-r6.log
-rw-r--r-- 1 root    portage     270 May  6 12:13 3800-rsync-2.6.8.log
=========================

In the above example the last entry (270 bytes) is what you need to
read.  The first @ 18944 bytes is the compilation and make/install
output and the middle one would normally contain any error/warning
messages relevant to uninstalling the previous version.
--
Regards,
Mick

--
gentoo-user@gentoo.org mailing list

Reply via email to