Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jul 1999 18:37:14 +0200
From:      Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To:        freebsd-questions@freebsd.org
Subject:   Why is this code in syslogd.c?
Message-ID:  <19990718183714.A26297@internal>

next in thread | raw e-mail | index | archive | help
In syslogd.c, around line 560, we find the following code
fragment:

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


I understand that the kernel facility is being changed to user
but I don't understand the reason for doing that. It makes
kern.xxx entries in /var/log/messages appear as user.xxx
but I would like to see the original facility...

Thanks for an enlightment,

	-Andre


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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