[KLUG Members] syslogd
Bruce Smith
members@kalamazoolinux.org
16 Apr 2002 13:12:25 -0400
> I need to add a time stamp (or at least a year field) to the messages
> stored in /var/log/messages. I can't find any parameters on syslog that
> makes such possible. Does somebody know if there is a way to change the
> date stored?
The command "logger" can write entries to the syslog file from a
shell script. You could log the year and use cron to schedule it
automatically once a year. (or however often you like :)
--------------------------------------------
Bruce Smith bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan 49093 USA
http://www.armstrong-intl.com/
--------------------------------------------