Date: Thu, 30 Mar 1995 21:45:24 -0800 From: Bill Paul <wpaul> To: CVS-commiters, cvs-gnu Subject: cvs commit: src/gnu/libexec/ypxfr log.c Makefile yp_svc.c yp_xdr.c ypclnt.c ypxfr.8 ypxfr.c Message-ID: <199503310545.VAA13728@freefall.cdrom.com>
next in thread | raw e-mail | index | archive | help
wpaul 95/03/30 21:45:23 Modified: gnu/libexec/ypxfr Makefile yp_svc.c yp_xdr.c ypclnt.c ypxfr.8 ypxfr.c Added: gnu/libexec/ypxfr log.c Log: Rework error reporting/logging: although the SunOS documentation says that ypxfr is supposed to log messages to /var/yp/ypxfr.log if it exists, using syslog() makes more sense, especially since ypserv does the same thing already. Try to use stderr by default, and use syslog() if stderr is not a tty. Also update the man page to reflect this change.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503310545.VAA13728>