Deleted Added
full compact
syslog.3 (84306) syslog.3 (108087)
1.\" Copyright (c) 1985, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)syslog.3 8.1 (Berkeley) 6/4/93
1.\" Copyright (c) 1985, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)syslog.3 8.1 (Berkeley) 6/4/93
33.\" $FreeBSD: head/lib/libc/gen/syslog.3 84306 2001-10-01 16:09:29Z ru $
33.\" $FreeBSD: head/lib/libc/gen/syslog.3 108087 2002-12-19 09:40:28Z ru $
34.\"
35.Dd June 4, 1993
36.Dt SYSLOG 3
37.Os
38.Sh NAME
39.Nm syslog ,
40.Nm vsyslog ,
41.Nm openlog ,

--- 83 unchanged lines hidden (view full) ---

125The
126.Fn openlog
127function
128provides for more specialized processing of the messages sent
129by
130.Fn syslog
131and
132.Fn vsyslog .
34.\"
35.Dd June 4, 1993
36.Dt SYSLOG 3
37.Os
38.Sh NAME
39.Nm syslog ,
40.Nm vsyslog ,
41.Nm openlog ,

--- 83 unchanged lines hidden (view full) ---

125The
126.Fn openlog
127function
128provides for more specialized processing of the messages sent
129by
130.Fn syslog
131and
132.Fn vsyslog .
133The parameter
133The
134.Fa ident
134.Fa ident
135argument
135is a string that will be prepended to every message.
136The
137.Fa logopt
138argument
139is a bit field specifying logging options, which is formed by
140.Tn OR Ns 'ing
141one or more of the following values:
142.Bl -tag -width LOG_AUTHPRIV

--- 15 unchanged lines hidden (view full) ---

158Write the message to standard error output as well to the system log.
159.It Dv LOG_PID
160Log the process id with each message: useful for identifying
161instantiations of daemons.
162.El
163.Pp
164The
165.Fa facility
136is a string that will be prepended to every message.
137The
138.Fa logopt
139argument
140is a bit field specifying logging options, which is formed by
141.Tn OR Ns 'ing
142one or more of the following values:
143.Bl -tag -width LOG_AUTHPRIV

--- 15 unchanged lines hidden (view full) ---

159Write the message to standard error output as well to the system log.
160.It Dv LOG_PID
161Log the process id with each message: useful for identifying
162instantiations of daemons.
163.El
164.Pp
165The
166.Fa facility
166parameter encodes a default facility to be assigned to all messages
167argument encodes a default facility to be assigned to all messages
167that do not have an explicit facility encoded:
168.Bl -tag -width LOG_AUTHPRIV
169.It Dv LOG_AUTH
170The authorization system:
171.Xr login 1 ,
172.Xr su 1 ,
173.Xr getty 8 ,
174etc.

--- 122 unchanged lines hidden ---
168that do not have an explicit facility encoded:
169.Bl -tag -width LOG_AUTHPRIV
170.It Dv LOG_AUTH
171The authorization system:
172.Xr login 1 ,
173.Xr su 1 ,
174.Xr getty 8 ,
175etc.

--- 122 unchanged lines hidden ---