Print this page
4211 Some syslog facility names and symbols are missing
1762 Syslogd man page: missing reference.
@@ -17,10 +17,11 @@
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
+ * Copyright (c) 2013 Gary Mills
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
@@ -34,11 +35,10 @@
* University Acknowledgment- Portions of this document are derived from
* software developed by the University of California, Berkeley, and its
* contributors.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>
#include <syslog.h>
@@ -83,12 +83,17 @@
"mark", LOG_MARK,
"syslog", LOG_SYSLOG,
"lpr", LOG_LPR,
"news", LOG_NEWS,
"uucp", LOG_UUCP,
- "cron", LOG_CRON,
+ "altcron", LOG_ALTCRON,
+ "authpriv", LOG_AUTHPRIV,
+ "ftp", LOG_FTP,
+ "ntp", LOG_NTP,
"audit", LOG_AUDIT,
+ "console", LOG_CONSOLE,
+ "cron", LOG_CRON,
"local0", LOG_LOCAL0,
"local1", LOG_LOCAL1,
"local2", LOG_LOCAL2,
"local3", LOG_LOCAL3,
"local4", LOG_LOCAL4,