From owner-freebsd-stable Fri Feb 2 6: 5:11 2001 Delivered-To: freebsd-stable@freebsd.org Received: from accord.grasslake.net (accord.grasslake.net [206.11.249.240]) by hub.freebsd.org (Postfix) with ESMTP id A469237B401 for ; Fri, 2 Feb 2001 06:04:53 -0800 (PST) Received: from marlowe (accord.grasslake.net [206.11.249.240]) by accord.grasslake.net (8.11.1/8.11.1) with SMTP id f12DxrI05423 for ; Fri, 2 Feb 2001 07:59:53 -0600 (CST) (envelope-from swb@grasslake.net) Message-ID: <020b01c08d21$4544fc40$b8209fc0@marlowe> From: "Shawn Barnhart" To: Subject: syslog.conf host selection uses only short host name? Date: Fri, 2 Feb 2001 08:05:59 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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