Dear all,
How to send the log message which in /var/cron directory to other server?
We think that change the syslog.conf file.
Our's syslog file is as follows:
-----------------------------------------------------------------------
*.alert;kern.err;daemon.err operator
*.alert root
*.emerg *
# if a non-loghost machine chooses to have authentication messages
# sent to the loghost machine, un-comment out the following line:
#auth.notice ifdef(`LOGHOST', /var/log/authlog, @loghost)
mail.debug ifdef(`LOGHOST', /var/log/syslog, @loghost)
#
# non-loghost machines will use the following lines to cause "user"
# log messages to be logged locally.
#
ifdef(`LOGHOST', ,
user.err /dev/sysmsg
user.err /var/adm/messages
user.alert `root, operator'
user.emerg *
cron.emerg /var/log/cron.messages
cron.* /var/cron/log
)
*.emerg;*.alert;*.crit;*.err;*.warning;*.notice;*. info;*.debug @192.168.10.21
cron.* @192.168.10.21
------------------------------------------------------------------------
Thank you in advance.