Date: Thu, 26 Aug 2004 14:53:55 +0200 From: Martin Hasenbein <freebsd@lists.42x.org> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Logging router errors using syslog Message-ID: <20040826125355.GA48259@bsd.net> In-Reply-To: <412DCFB7.1000502@freebsd.org> References: <412DCFB7.1000502@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 26 Aug 2004 (13:55:35) [1093521335], Mark Ovens wrote: Hi Mark, > The router has been set up to log to the local2 facility and I've added > these lines to the end of /etc/syslog.conf: > > !* > +P650R-31 > local2 /var/log/router/zyxel > Can anyuone suggest why this is not working? how did you start syslogd? If it was started from /etc/rc.conf without modifying the flags for syslogd, it won't work. The default-flag for syslogd is syslogd_flags="-s" >From the man-page: -s Operate in secure mode. Do not log messages from remote machines. If specified twice, no network socket will be opened at all, which also disables logging to remote machines. You have to disable this option and restart syslogd. Ciao, -Martin. -- Martin Hasenbein | Volkartstr. 55 | D-80636 Muenchen fon: +49 89 12163761 | fax: +49 89 12163763 | gsm: +49 175 2255715 martin@hasenbein.com | mh@bsd.net | martin@hasenbein.net Unix is simple, but it takes a genius to understand the simplicity --Dennis Ritchie
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040826125355.GA48259>