

You must activate the logging-feature of emerge by setting the portage log directory in /etc/make.conf:jeffk wrote:Is there a log being generated of my emerges' readable output that I can archive for later learning? I switched everything to gentoo recently and have a lot to learn about the system as I configure it.
Code: Select all
# PORT_LOGDIR is the location where portage will store all the logs it
# creates from each individual merge. They are stored as YYMMDD-$PF.log
# in the directory specified. This is disabled until you enable it by
# providing a directory. Permissions will be modified as needed IF the
# directory exists, otherwise logging will be disabled.
PORT_LOGDIR=/var/log/portage
You can then parse the messages in /var/log/portage with the bash utility portlog-info.jeffk wrote: I'd like to have a searcheable archive of those kinds of messages. The compiler command output, not so much. Hopefully I'm not too late to start this archive if it was being generated all along. Any tips would be appreciated. Thanks.

The point is that it's overriding internal functions (actually inherited from baselayout atm) and 2.1 a) doesn't allow that anymore and b) changes those functions for it's own logging. So it won't delete anything, but it won't work anymore and might cause some random problems.kcy29581 wrote:I can see why portlog-info is hard (or damn near impossible!) to break, as it does a simple thing: looks at portage's OWN logs and filters out certain key words/phrases.
However with enotice, how could it break portage or anything for that matter? I thought that it did a similar thing to portlog-info, but rather than looking at the logs, it looks at the direct output and juts makes easily-readable files. It can't actually delete anything right?