Date: Fri, 15 Sep 2006 16:34:59 -0700 (PDT) From: David Thompson <dat1965@yahoo.com> To: freebsd-rc@freebsd.org Subject: /etc/rc.subr debug() logs messages with INFO Message-ID: <20060915233459.57681.qmail@web55113.mail.re4.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hi,
Looking at /etc/rc.subr rev 1.68 on CVSweb, you can see
the meat of info() doing these commands,
if [ -x /usr/bin/logger ]; then
logger "$0: INFO: $*"
fi
echo "$0: INFO: $*"
Here is similar debug() meat,
if [ -x /usr/bin/logger ]; then
logger "$0: INFO: $*"
fi
echo 1>&2 "$0: DEBUG: $*"
Huh? Why is the debug() function calling logger and
identifying its messages with "INFO".
Looks to be typo. Can anyone confirm?
--
David
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060915233459.57681.qmail>
