On Tue, 7 Feb 2006 10:42:26 +0100, Bo Andresen wrote:
> PORTAGE_ELOG_COMMAND="echo -p '${PACKAGE}' -f '${LOGFILE}'
> > /tmp/logprocessor"
>
> These modules are enabled:
> PORTAGE_ELOG_SYSTEM="save custom syslog"
>
> For these classes:
> PORTAGE_ELOG_CLASSES="info warn error log"
>
> After a successful emerge I get the corresponding logfile, output is
> printed to the syslog, however, the custom module prints nothing:
>
> [EMAIL PROTECTED]:~# cat /tmp/logprocessor
> -p -f
The example is wrong, because the variables are resolved when the conf
file is sources. You need to put the whole command in single quotes, or
escape the $ signs.
PORTAGE_ELOG_COMMAND='echo >>/mnt/scratch/logprocessor -p ${PACKAGE} -f
${LOGFILE}'
will do what you want.
Your mail problem is addressed at http://bugs.gentoo.org/show_bug.cgi?id=116637
--
Neil Bothwick
Weird enough for government work.
signature.asc
Description: PGP signature

