remote logging with syslogd

Guido Demmenie rottweilertje at rottnic.nl
Wed Mar 21 16:59:27 UTC 2007


Hello,

I'm trying to put up a remote logging server. I want to let my  
Airport Express send its logs to my FreeBSD server.

So I said to my Airport to send its logs to the internal ip of my  
server, I suppose it works because that's what Apple hardware does.  
Now I did the following things on my bsdbox:


I appended to syslog.conf:

# Log remote Airport Express
+airport
*.*             /var/log/airport.log
!*

I touched /var/log/airport.log and it has rw-r----- root:wheel rights

And to rc.conf I added:

syslogd_enable="YES"
syslogd_flags="-b myhostname.intranet -a *.intranet"

I restarted syslogd via:
# /etc/rc.d/syslogd restart

I suppose it should work, but nothing appears in /var/log/airport and  
there should be something that it listens for input or not?

Also I checked netstat -a | grep syslog
udp4       0      0  myhostname.intranet..syslo *.*

So it looks like it is not listening.

Anyone any ideas what I'm doing wrong?

--Guido

www.rottnic.nl


More information about the freebsd-questions mailing list