[TriLUG] Another Syslogd question

Scott Morris scmorris at ifndef.com
Wed Nov 14 14:13:28 EST 2001


> Is it possible to both have a machine write its logs to
> /var/log/messages AND to send them to a remote server (using straight-up
> syslog, NOT syslog-ng)?  I tried this in /etc/syslog.conf:
> 
> *.info;mail.none;authpriv.none;cron.none
> /var/log/messages
> *.info;mail.none;authpriv.none;cron.none
> @syslog.server.ca
> 
> and I don't think that works.  Any ideas?


it works for me. i do exactly that.
something like:

*.debug 	@192.168.1.1
*.crit;mail.debug	/var/adm/messages

solaris/aix/linux...

-- 
Scott Morris
scmorris at ifndef.com
Any similarities to reality are purely coincidental.
Get my PGP public key: http://www.sackheads.org/~scmorris/publickey.asc





More information about the TriLUG mailing list