Use IP1 as a relay.  Put something like this is syslog.conf and restart
(HUP) it:

*.* @IP2

This will log locally using logger but will relay the log to IP2 as
well.  I just used *.* but you can specify facility/severity of logs
there.

--Daniel ANson

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Jules Pagna
Disso
Sent: Thursday, February 05, 2009 9:52 AM
To: rsyslog-users
Subject: [rsyslog] logger problem

hi guys,

I have successfully use logger to send messages to syslog. however this
works well locally. now i need to send a message to a remote syslog
server.
i can't see how to do it with logger. let assume that i am sending from
IP1
to IP2 how do i go about it.

thanks
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com


Confidentiality Notice: This e-mail message (including any attached or
embedded documents) is intended for the exclusive and confidential use of the
individual or entity to which this message is addressed, and unless otherwise
expressly indicated, is confidential and privileged information of Rackspace. 
Any dissemination, distribution or copying of the enclosed material is 
prohibited.
If you receive this transmission in error, please notify us immediately by 
e-mail
at [email protected], and delete the original message. 
Your cooperation is appreciated.

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to