[1128] in NetBSD-Development

home help back first fref pref prev next nref lref last post

Re: zephyr syslogd

daemon@ATHENA.MIT.EDU (Charles Hannum)
Fri Nov 17 19:41:11 1995

Date: Fri, 17 Nov 1995 19:40:30 -0500
From: Charles Hannum <Charles-Hannum@deshaw.com>
To: jweiss@MIT.EDU
Cc: ghudson@MIT.EDU, jweiss@MIT.EDU, netbsd-dev@MIT.EDU
In-Reply-To: <199511180006.TAA23694@the-other-woman.MIT.EDU> (message from Jonathon Weiss on Fri, 17 Nov 1995 19:06:12 EST)


   Yeah, I just took a look to, there don't appear to be coflicts, but
   I'm still getting:

   variable# logger -p cron.debug bar

   SYSLOG, variable, reserved.debug, root@VARIABLE 
   Nov 17 19:02:10 [variable] root: bar

This is expected.  The `cron' type doesn't exist in the Zephyr source;
it's marked as `reserved'.

   variable# logger -p kern.debug baz

   SYSLOG, variable, user.debug, root@VARIABLE 
   Nov 17 19:02:46 [variable] root: baz

This is a special case.  If syslogd gets a type LOG_KERN message over
the socket rather than from /dev/klog, it automatically changes it to
type LOG_USER.

        /* don't allow users to log kernel messages */
        if (LOG_FAC(pri) == LOG_KERN)
                pri = LOG_MAKEPRI(LOG_USER, LOG_PRI(pri));

I don't see a bug here.


home help back first fref pref prev next nref lref last post