Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2007 13:45:32 -0400
From:      "Brian A. Seklecki" <bseklecki@collaborativefusion.com>
To:        Guido Demmenie <rottweilertje@rottnic.nl>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: remote logging with syslogd
Message-ID:  <1174499132.24543.354.camel@soundwave.pgh.priv.collaborativefusion.com>
In-Reply-To: <B28F6283-4D1F-4AA5-BF2D-26635C289822@rottnic.nl>
References:  <B28F6283-4D1F-4AA5-BF2D-26635C289822@rottnic.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
run syslogd in the foreground without daemonizing:

$ sudo syslogd -dv [flags]

If you don't see anything, tcpdump(8) and validate that UDP/514 packets
are coming in.

~BAS

On Wed, 2007-03-21 at 17:35 +0100, Guido Demmenie wrote:
> 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
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
-- 
Brian A. Seklecki <bseklecki@collaborativefusion.com>
Collaborative Fusion, Inc.




IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited.  Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1174499132.24543.354.camel>