remote logging with syslogd question
Michael Sierchio
kudzu at tenebras.com
Fri Aug 20 19:22:58 UTC 2021
On Fri, Aug 20, 2021 at 12:11 PM Victor Gamov <vit at 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:*"
More information about the freebsd-questions
mailing list