aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/syslog.h
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2000-11-25 21:00:58 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2000-11-25 21:00:58 +0000
commitea250e5b0348b75cd9909c46e8250123669cd2cf (patch)
tree873ecda894b6ac94c1e4157ed3213168b8a9e1bd /sys/sys/syslog.h
parent5d4e386e64d9632dc652c915673ac013eb97acbf (diff)
downloadsrc-ea250e5b0348b75cd9909c46e8250123669cd2cf.tar.gz
src-ea250e5b0348b75cd9909c46e8250123669cd2cf.zip
Add the "LOG_CONSOLE" facility and tell syslogd to not log it on
console devices.
Notes
Notes: svn path=/head/; revision=69175
Diffstat (limited to 'sys/sys/syslog.h')
-rw-r--r--sys/sys/syslog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/syslog.h b/sys/sys/syslog.h
index 21c16af99874..0858af591113 100644
--- a/sys/sys/syslog.h
+++ b/sys/sys/syslog.h
@@ -107,6 +107,7 @@ CODE prioritynames[] = {
#define LOG_FTP (11<<3) /* ftp daemon */
#define LOG_NTP (12<<3) /* NTP subsystem */
#define LOG_SECURITY (13<<3) /* security subsystems (firewalling, etc.) */
+#define LOG_CONSOLE (14<<3) /* /dev/console output */
/* other codes through 15 reserved for system use */
#define LOG_LOCAL0 (16<<3) /* reserved for local use */
@@ -127,6 +128,7 @@ CODE prioritynames[] = {
CODE facilitynames[] = {
{ "auth", LOG_AUTH, },
{ "authpriv", LOG_AUTHPRIV, },
+ { "console", LOG_CONSOLE, },
{ "cron", LOG_CRON, },
{ "daemon", LOG_DAEMON, },
{ "ftp", LOG_FTP, },