1 |
060925 Richard Fish wrote: |
2 |
> On 9/25/06, Marc Blumentritt <marc.blumentritt@×××××.de> wrote: |
3 |
>> on one of my machines elog saves messages in /var/log/portage instead of |
4 |
>> /var/log/portage/elog ? The funny thing is, that it worked first. |
5 |
> What does "grep PORT_LOGDIR /etc/make.conf*" report? |
6 |
|
7 |
there are 2 logging procedures in the latest make.conf.example : |
8 |
|
9 |
# PORT_LOGDIR is the location where portage will store all the logs it |
10 |
# creates from each individual merge. They are stored as NNNN-$PF.log |
11 |
# in the directory specified. This is disabled until you enable it by |
12 |
# providing a directory. Permissions will be modified as needed IF the |
13 |
# directory exists, otherwise logging will be disabled. NNNN is the |
14 |
# increment at the time the log is created. Logs are thus sequential. |
15 |
#PORT_LOGDIR=/var/log/portage |
16 |
|
17 |
and (both are edited to shorten lines) |
18 |
|
19 |
# PORTAGE_ELOG_CLASSES: selects msgs to be logged, possible values are: |
20 |
# info, warn, error, log |
21 |
# Warning: commenting this will disable elog |
22 |
PORTAGE_ELOG_CLASSES="warn error log" |
23 |
|
24 |
# PORTAGE_ELOG_SYSTEM: selects the module(s) to process the log messages. |
25 |
# Modules included in portage are (empty means logging is disabled): |
26 |
# save (saves one log per package in $PORT_LOGDIR/elog, |
27 |
# /var/log/portage/elog if $PORT_LOGDIR is unset) |
28 |
# custom (passes all messages to $PORTAGE_ELOG_COMMAND) |
29 |
# syslog (sends all messages to syslog) |
30 |
# mail (send all messages to the mailserver defined |
31 |
# in $PORTAGE_ELOG_MAILURI) |
32 |
# To use elog you should enable at least one module |
33 |
#PORTAGE_ELOG_SYSTEM="save mail" |
34 |
|
35 |
'logdir' used to be populated with lines like |
36 |
|
37 |
4332-portage-2.1.1.log |
38 |
4333-portage-2.1-r2.log |
39 |
4333-portage-2.1.1.log |
40 |
|
41 |
but since those for update to Portage 2.1.1 , no more have appeared. |
42 |
|
43 |
'elog' creates lines like |
44 |
|
45 |
app-admin:gkrellm-2.2.9-r1:20060923-012928.log |
46 |
app-arch:gzip-1.3.5-r8:20060923-011035.log |
47 |
app-arch:gzip-1.3.5-r9:20060923-011012.log |
48 |
app-arch:zip-2.31-r1:20060923-011114.log |
49 |
|
50 |
which used to be dropped in a subdir 'elog', but now appear in $PORT_LOGDIR . |
51 |
|
52 |
Yes, I do still have the appropriate lines in my working make.conf . |
53 |
|
54 |
This looks like a bug in the new version of Portage. |
55 |
Perhaps someone should report it: it's not a high priority for me. |
56 |
|
57 |
-- |
58 |
========================,,============================================ |
59 |
SUPPORT ___________//___, Philip Webb : purslow@××××××××××××××.ca |
60 |
ELECTRIC /] [] [] [] [] []| Centre for Urban & Community Studies |
61 |
TRANSIT `-O----------O---' University of Toronto |
62 |
-- |
63 |
gentoo-user@g.o mailing list |