syslog with a specific facility

Arjan Filius iafilius at xs4all.nl
Mon Jun 14 13:27:39 CEST 2010


Hello bird-users

We'd need functionality to send bird (remote) syslog as a specific 
facility. Are there any way's (planned) to do that?

Tried with rsyslog to catch the bird logging, and sending it to a remote 
loghost, which works fine, except for 
the desired "relabeling" the facility.

I see in the code in ./sysdep/unix/log.c:253

   if (new_syslog_name)
     openlog(new_syslog_name, LOG_CONS | LOG_NDELAY, LOG_DAEMON);

and changing LOG_DAEMON to the desired facility, and compiling/installing 
would do it i suppose.


Any ideas if dynamic configuring syslog facility is on the roadmap, and if 
not may i make a request of it?

Regards,

Thanks in advance.

-- 
Arjan Filius
mailto:iafilius at xs4all.nl



More information about the Bird-users mailing list