[rsyslog] local/remote logging

Johnny Tan linuxweb at gmail.com
Thu Mar 6 01:49:46 CET 2008


I want to have logs written locally (the way they usually 
are) as well as sent to a central logger.

The two situations that I want local logs for are:

1) in case the central logger is not available for any 
reason, I don't lose messages

2) if I need to troubleshoot something, I can just look at 
the local logs

Obviously, I will rotate the local logs and have older ones 
discarded. Whereas the central logger will archive them for 
longer periods.


Can I accomplish this with rsyslog? AIUI, I can, and I have 
to move to at least v3.11.x -- is that correct?

Assuming yes, I already got the remote logging working. What 
do I do to get the simultaneous local logging to work too?

I can't find any wiki or faq on this. If I get it working, 
I'd be happy to post it on the site.

johnn


More information about the rsyslog mailing list