summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c/syslog.3c
diff options
context:
space:
mode:
authorYuri Pankov <yuri.pankov@nexenta.com>2011-10-03 04:36:40 -0700
committerYuri Pankov <yuri.pankov@nexenta.com>2011-10-03 04:36:40 -0700
commited22c7109fc5dd9e1b7a5d0333bdc7ad2718e2ab (patch)
tree3b2f488c4a03bda877119449bd63c01fa32aa6f2 /usr/src/man/man3c/syslog.3c
parentaf8dc4373b25cce2c0bbb80f24e791f99eccbb6f (diff)
downloadillumos-gate-ed22c7109fc5dd9e1b7a5d0333bdc7ad2718e2ab.tar.gz
1502 Remove conversion cruft from manpages
Reviewed by: Alexander Eremin <alexander.eremin@nexenta.com> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Garrett D'Amore <garrett.damore@gmail.com>
Diffstat (limited to 'usr/src/man/man3c/syslog.3c')
-rw-r--r--usr/src/man/man3c/syslog.3c79
1 files changed, 8 insertions, 71 deletions
diff --git a/usr/src/man/man3c/syslog.3c b/usr/src/man/man3c/syslog.3c
index 68f30fb011..d3ca5cdd4e 100644
--- a/usr/src/man/man3c/syslog.3c
+++ b/usr/src/man/man3c/syslog.3c
@@ -7,7 +7,7 @@
.\" are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical
.\" and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html.
.\" This notice shall appear on any product containing this material.
-.TH syslog 3C "16 Mar 2009" "SunOS 5.11" "Standard C Library Functions"
+.TH SYSLOG 3C "Mar 16, 2009"
.SH NAME
syslog, openlog, closelog, setlogmask \- control system log
.SH SYNOPSIS
@@ -65,91 +65,75 @@ facility value is specified, the current default facility value is used.
Possible values of severity level include, in decreasing order:
.sp
.ne 2
-.mk
.na
\fB\fBLOG_EMERG\fR\fR
.ad
.RS 15n
-.rt
A panic condition. This is normally broadcast to all users.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBLOG_ALERT\fR\fR
.ad
.RS 15n
-.rt
A condition that should be corrected immediately, such as a corrupted system
database.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBLOG_CRIT\fR\fR
.ad
.RS 15n
-.rt
Critical conditions, such as hard device errors.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBLOG_ERR\fR\fR
.ad
.RS 15n
-.rt
Errors.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBLOG_WARNING\fR\fR
.ad
.RS 15n
-.rt
Warning messages.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBLOG_NOTICE\fR\fR
.ad
.RS 15n
-.rt
Conditions that are not error conditions, but that may require special
handling.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBLOG_INFO\fR\fR
.ad
.RS 15n
-.rt
Informational messages.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBLOG_DEBUG\fR\fR
.ad
.RS 15n
-.rt
Messages that contain information normally of use only when debugging a
program.
.RE
@@ -160,203 +144,167 @@ The facility indicates the application or system component generating the
message. Possible facility values include:
.sp
.ne 2
-.mk
.na
\fB\fBLOG_KERN\fR\fR
.ad
.RS 14n
-.rt
Messages generated by the kernel. These cannot be generated by any user
processes.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBLOG_USER\fR\fR
.ad
.RS 14n
-.rt
Messages generated by random user processes. This is the default facility
identifier if none is specified.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBLOG_MAIL\fR\fR
.ad
.RS 14n
-.rt
The mail system.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBLOG_DAEMON\fR\fR
.ad
.RS 14n
-.rt
System daemons, such as \fBin.ftpd\fR(1M).
.RE
.sp
.ne 2
-.mk
.na
\fB\fBLOG_AUTH\fR\fR
.ad
.RS 14n
-.rt
The authentication / security / authorization system: \fBlogin\fR(1),
\fBsu\fR(1M), \fBgetty\fR(1M).
.RE
.sp
.ne 2
-.mk
.na
\fB\fBLOG_LPR\fR\fR
.ad
.RS 14n
-.rt
The line printer spooling system: \fBlpr\fR(1B), \fBlpc\fR(1B).
.RE
.sp
.ne 2
-.mk
.na
\fB\fBLOG_NEWS\fR\fR
.ad
.RS 14n
-.rt
Designated for the \fBUSENET\fR network news system.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBLOG_UUCP\fR\fR
.ad
.RS 14n
-.rt
Designated for the \fBUUCP\fR system; it does not currently use \fBsyslog()\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBLOG_CRON\fR\fR
.ad
.RS 14n
-.rt
The \fBcron\fR/\fBat\fR facility; \fBcrontab\fR(1), \fBat\fR(1),
\fBcron\fR(1M).
.RE
.sp
.ne 2
-.mk
.na
\fB\fBLOG_AUDIT\fR\fR
.ad
.RS 14n
-.rt
The audit facility, for example, \fBauditd\fR(1M).
.RE
.sp
.ne 2
-.mk
.na
\fB\fBLOG_LOCAL0\fR\fR
.ad
.RS 14n
-.rt
Designated for local use.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBLOG_LOCAL1\fR\fR
.ad
.RS 14n
-.rt
Designated for local use.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBLOG_LOCAL2\fR\fR
.ad
.RS 14n
-.rt
Designated for local use.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBLOG_LOCAL3\fR\fR
.ad
.RS 14n
-.rt
Designated for local use.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBLOG_LOCAL4\fR\fR
.ad
.RS 14n
-.rt
Designated for local use.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBLOG_LOCAL5\fR\fR
.ad
.RS 14n
-.rt
Designated for local use.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBLOG_LOCAL6\fR\fR
.ad
.RS 14n
-.rt
Designated for local use.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBLOG_LOCAL7\fR\fR
.ad
.RS 14n
-.rt
Designated for local use.
.RE
@@ -370,24 +318,20 @@ argument indicates logging options. Values for \fIlogopt\fR are constructed by
a bitwise-inclusive OR of zero or more of the following:
.sp
.ne 2
-.mk
.na
\fB\fBLOG_PID\fR\fR
.ad
.RS 14n
-.rt
Log the process \fBID\fR with each message. This is useful for identifying
specific daemon processes (for daemons that fork).
.RE
.sp
.ne 2
-.mk
.na
\fB\fBLOG_CONS\fR\fR
.ad
.RS 14n
-.rt
Write messages to the system console if they cannot be sent to
\fBsyslogd\fR(1M). This option is safe to use in daemon processes that have no
controlling terminal, since \fBsyslog()\fR forks before opening the console.
@@ -395,12 +339,10 @@ controlling terminal, since \fBsyslog()\fR forks before opening the console.
.sp
.ne 2
-.mk
.na
\fB\fBLOG_NDELAY\fR\fR
.ad
.RS 14n
-.rt
Open the connection to \fBsyslogd\fR(1M) immediately. Normally the open is
delayed until the first message is logged. This is useful for programs that
need to manage the order in which file descriptors are allocated.
@@ -408,23 +350,19 @@ need to manage the order in which file descriptors are allocated.
.sp
.ne 2
-.mk
.na
\fB\fBLOG_ODELAY\fR\fR
.ad
.RS 14n
-.rt
Delay open until \fBsyslog()\fR is called.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBLOG_NOWAIT\fR\fR
.ad
.RS 14n
-.rt
Do not wait for child processes that have been forked to log messages onto the
console. This option should be used by processes that enable notification of
child termination using \fBSIGCHLD\fR, since \fBsyslog()\fR may otherwise block
@@ -544,17 +482,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityCommitted
+Interface Stability Committed
_
-MT-LevelSafe
+MT-Level Safe
_
-StandardSee \fBstandards\fR(5).
+Standard See \fBstandards\fR(5).
.TE
.SH SEE ALSO