From owner-freebsd-commit Thu Mar 30 05:55:44 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id FAA27367 for commit-outgoing; Thu, 30 Mar 1995 05:55:44 -0800 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id FAA27354 for cvs-gnu-outgoing; Thu, 30 Mar 1995 05:55:28 -0800 Received: (from wpaul@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id FAA27345; Thu, 30 Mar 1995 05:55:18 -0800 From: Bill Paul Message-Id: <199503301355.FAA27345@freefall.cdrom.com> Subject: Re: cvs commit: src/gnu/libexec/ypxfr ypxfr.8 ypxfr.c To: ache@astral.msk.su (Andrey A. Chernov, Black Mage) Date: Thu, 30 Mar 1995 05:55:18 -0800 (PST) Cc: cvs-commiters, cvs-gnu In-Reply-To: from "Andrey A. Chernov, Black Mage" at Mar 30, 95 08:28:52 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 929 Sender: commit-owner@FreeBSD.org Precedence: bulk > > In message <199503300414.UAA14327@freefall.cdrom.com> Bill Paul writes: > > > Have ypxfr log all output to /var/yp/ypxfr.log if stdin is not a > > tty. This should allow logging to be done when ypxfr is called from > > inside ypserv in response to a yppush request. > > It should use syslog() family instead of direct logging. > > -- > Andrey A. Chernov : And I rest so composedly, /Now, in my bed, > ache@astral.msk.su : That any beholder /Might fancy me dead - > FidoNet: 2:5020/230.3 : Might start at beholding me, /Thinking me dead. > RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849 > Yes, it should, shouldn't it... I had the Sun ypxfr man page on my mind when I did that, which says that it's supposed to use its own log file. But now that I think about it, ypserv is documented to work that way too, and we're already using syslog() for that. Hmmm... -Bill