On Wed, Feb 11, 2009 at 11:53, Jules Pagna Disso <[email protected]> wrote: > Giving that one can change the IP in the rsconfig.conf to send a log > remotely, would they be an easy way, or what would be the best approach to > change the config file programatically so that IP can be update whenever > wanted.
Use DNS. There are nearly infinite of ways to programmatically replace FOO with BAR in a text file, but changing the file requires a HUP or restart for an already-running instance of rsyslog, which is inelegant. If you're trying to point to multiple hosts, either float a virtual IP among them or point at a DNS record you can move among hosts. _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com

