From owner-freebsd-arch Sat Mar 23 16:37:29 2002 Delivered-To: freebsd-arch@freebsd.org Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by hub.freebsd.org (Postfix) with ESMTP id 7DCE137B419 for ; Sat, 23 Mar 2002 16:37:26 -0800 (PST) Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.12.2/8.12.2) with ESMTP id g2O0b7Wx064444; Sat, 23 Mar 2002 19:37:11 -0500 (EST) (envelope-from mi@aldan.algebra.com) Message-Id: <200203240037.g2O0b7Wx064444@aldan.algebra.com> Date: Sat, 23 Mar 2002 19:37:07 -0500 (EST) From: Mikhail Teterin Subject: Re: review request for bin/11294 To: des@ofug.org Cc: arch@FreeBSD.org In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 23 Mar, Dag-Erling Smorgrav wrote: > Here's a patch. To log to a remote host, make /etc/loghost a symlink > to its name or IP address ('ln -fs 10.0.5.14 /etc/loghost'). But this implementation has drawbacks, that mine does not, IMHO: . the configuration is system wide -- which is not neccessarily desirable; . logger(1) -- and any other application, which wants this functionalitystill needs its own implementation; Most importantly, however, your design goal (allow to specify loghost different from localhost) is different from mine. I wanted to add an API call to log directly to another host -- at an application's discretion... My API call will not even add any new bloat to the OS -- whatever is added to the libc is removed from the logger(1) :-) Your idea (and a similar one by Joe Abley, where an env-variable is used instead of a symlink) can then be implemented using this same new API call I proposed. -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message