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