Date: Fri, 2 Feb 2001 08:05:59 -0600 From: "Shawn Barnhart" <swb@grasslake.net> To: <freebsd-stable@FreeBSD.ORG> Subject: syslog.conf host selection uses only short host name? Message-ID: <020b01c08d21$4544fc40$b8209fc0@marlowe>
next in thread | raw e-mail | index | archive | help
Is the 'correct' behavior of syslog.conf when using the "+hostname" selection to manage remote host logging to only use the "short" hostname? If I do: +machine.domain.tld ftp.* /var/log/machine.ftp I don't get my traffic logged, but if I use: +machine ftp.* /var/log/machine.ftp I do. It strikes me that I should be able to select on the fqdn. The manpage says "hostname", which I've always assumed to be the fqdn. The default output of hostname(1) on my 4.2-STABLE machines is the fqdn. In an ideal world, it'd be nice to use the fqdn AND wildcards, especially if managing remote logging from many machines or domains where the short hostname may have duplicates. I guess I should submit a patch for the manpage that stipulates the + selector for syslog.conf is "short" hostnames (ala hostname -s), and not fqdn. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?020b01c08d21$4544fc40$b8209fc0>