Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2002 19:37:07 -0500 (EST)
From:      Mikhail Teterin <mi@aldan.algebra.com>
To:        des@ofug.org
Cc:        arch@FreeBSD.org
Subject:   Re: review request for bin/11294
Message-ID:  <200203240037.g2O0b7Wx064444@aldan.algebra.com>
In-Reply-To: <xzpn0wydhhh.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203240037.g2O0b7Wx064444>