看板 FB_stable 關於我們 聯絡資訊
On Apr 19, 2014, at 18:24, James Welcher <jwelcher@gmail.com> wrote: [=85] > How can I configure the server to locally log the network connections it > receives, but NOT to forward these remotely received messages? [=85] > Anyone know how I can prevent syslogd from hopping/remote forwarding > nowadays? From syslog.conf(5): > A hostname specification of the form `#+hostname' or `+hostname' means th= e following blocks will be applied to messages received from thespecified h= ostname. Alternatively, the hostname specification `#-hostname' or `-hostn= ame' causes the following blocks to be applied to messages from any host bu= t the one specified. If the hostname is given as `@', the local hostname w= ill be used. As for program specifications, multiple comma-separated value= s may be specified for hostname specifications. http://www.freebsd.org/cgi/man.cgi?query=3Dsyslog.conf So you should try something like at the end: # Send messages from localhost to remotelogger. +@ *.* @remotelog.example.com See also: https://www.freebsd.org/doc/handbook/configtuning-syslog.html _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"