Date: Fri, 20 Aug 2021 12:22:14 -0700 From: Michael Sierchio <kudzu@tenebras.com> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: remote logging with syslogd question Message-ID: <CAHu1Y70ew2JPmW0TcQmN=J_uPtz=EwnbJugp46W25w_GjfQL0g@mail.gmail.com> In-Reply-To: <7af2b86e-31a3-d6c9-5efc-446ee1851676@otcnet.ru> References: <a23e910c-0921-b5c4-ce18-fe42f6e63a81@kicp.uchicago.edu> <7af2b86e-31a3-d6c9-5efc-446ee1851676@otcnet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 20, 2021 at 12:11 PM Victor Gamov <vit@otcnet.ru> wrote: > Try to use > > --- cut here --- > #+localhost > ... > #-localhost > --- /cut here --- > > for local messages and > > --- cut here --- > #+192.168.1.1 > *.* /var/log/192.168.1.1.log > #-192.168.1.1 > --- /cut here --- > > for messages from remote > And don't forget the syslog flags in /etc/rc.conf. E.g., syslogd_flags="-Ccc -a 192.168.0.0/16:*"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHu1Y70ew2JPmW0TcQmN=J_uPtz=EwnbJugp46W25w_GjfQL0g>
