Date: Mon, 8 Mar 2010 17:57:54 GMT From: "Peter C. Lai" <cowbert@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/144559: sysutils/eventlog patch to support FreeBSD-specific log facilities Message-ID: <201003081757.o28HvsHe028269@www.freebsd.org> Resent-Message-ID: <201003081800.o28I0IFR030060@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 144559 >Category: ports >Synopsis: sysutils/eventlog patch to support FreeBSD-specific log facilities >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Mar 08 18:00:17 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Peter C. Lai >Release: 8.0-R >Organization: Hyperfine Informatics >Environment: >Description: There are several FreeBSD specific facilities not included by sysutils/eventlog which will yield "unknown facility" when using applications linked to eventlog (like syslog-ng3), for example, support of the console.info log facility. >How-To-Repeat: >Fix: We grab the missing values from /usr/include/syslog.h and merge them into sysutils/eventlog/src/evtlog.h --- work/eventlog-0.2.10/src/evtlog.h 2008-10-04 07:05:42.000000000 -0400 +++ evtlog.h 2010-03-08 11:23:19.334398343 -0500 @@ -66,6 +66,9 @@ #define EVT_FAC_CRON (9<<3) /* clock daemon */ #define EVT_FAC_AUTHPRIV (10<<3) /* security/authorization messages (private) */ #define EVT_FAC_FTP (11<<3) /* ftp daemon */ +#define EVT_FAC_NTP (12<<3) +#define EVT_FAC_SECURITY (13<<3) +#define EVT_FAC_CONSOLE (14<<3) /* other codes through 15 reserved for system use */ #define EVT_FAC_LOCAL0 (16<<3) /* reserved for local use */ I leave the method integration of the patch up to the maintainer. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003081757.o28HvsHe028269>