This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C1FC1F.E7A6F970
Content-Type: text/plain;
charset="iso-8859-1"
On AIX 4.3.3...
When I specify a template for a destination as follows:
destination d_mesg {
file("/var/log/messages"
template("$DATE $HOST $PROGRAM [$FACILITY $LEVEL]
$MSG));
};
send a logger messages
logger -p user.notice -t TEST "This is a test"
what ends up in the log file is:
May 15 08:42:51 LEWIS TEST: [USER NOTICE] TEST: This is a test
So in what I'm seeing, and I've tried a few different 'templates', is that
$PROGRAM
is included in $MSG. Is that the way it is supposed to be?
Thanks,
Andrew
------_=_NextPart_001_01C1FC1F.E7A6F970
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
bug in "template"?
On AIX 4.3.3...
When I specify a template for a destination as =
follows:
destination d_mesg {
=
=
=
file("/var/log/messages"
=
=
=
template("$DATE $HOST $PROGRAM [$FACILITY $LEVEL] $MSG));
=
=
=
};
send a logger messages
logger -p user.notice -t TEST "This is a =
test"
what ends up in the log file is:
May 15 08:42:51 LEWIS TEST: [USER NOTICE] TEST: This =
is a test
So in what I'm seeing, and I've tried a few different =
'templates', is that $PROGRAM
is included in $MSG. Is that the way it is supposed =
to be?
Thanks,
Andrew
------_=_NextPart_001_01C1FC1F.E7A6F970--