From owner-freebsd-questions Sun Jul 18 9:37:39 1999 Delivered-To: freebsd-questions@freebsd.org Received: from thoth.mch.sni.de (thoth.mch.sni.de [192.35.17.2]) by hub.freebsd.org (Postfix) with ESMTP id 4410214BE7 for ; Sun, 18 Jul 1999 09:37:35 -0700 (PDT) (envelope-from andre.albsmeier@mchp.siemens.de) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer thoth.mch.sni.de) Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by thoth.mch.sni.de (8.9.3/8.9.3) with ESMTP id SAA08715 for ; Sun, 18 Jul 1999 18:37:17 +0200 (MET DST) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail1.siemens.de (8.9.3/8.9.3) with ESMTP id SAA08242 for ; Sun, 18 Jul 1999 18:37:09 +0200 (MET DST) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.9.3/8.9.3) id SAA64995 for ; Sun, 18 Jul 1999 18:37:17 +0200 (CEST) Date: Sun, 18 Jul 1999 18:37:14 +0200 From: Andre Albsmeier To: freebsd-questions@freebsd.org Subject: Why is this code in syslogd.c? Message-ID: <19990718183714.A26297@internal> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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