logger.1 (115208) | logger.1 (131507) |
---|---|
1.\" Copyright (c) 1983, 1990, 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.\" @(#)logger.1 8.1 (Berkeley) 6/6/93 | 1.\" Copyright (c) 1983, 1990, 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.\" @(#)logger.1 8.1 (Berkeley) 6/6/93 |
33.\" $FreeBSD: head/usr.bin/logger/logger.1 115208 2003-05-21 15:00:47Z brueffer $ | 33.\" $FreeBSD: head/usr.bin/logger/logger.1 131507 2004-07-03 00:24:45Z ru $ |
34.\" 35.Dd June 6, 1993 36.Dt LOGGER 1 37.Os 38.Sh NAME 39.Nm logger 40.Nd make entries in the system log 41.Sh SYNOPSIS 42.Nm 43.Op Fl 46Ais 44.Op Fl f Ar file 45.Op Fl h Ar host 46.Op Fl p Ar pri 47.Op Fl t Ar tag 48.Op Ar message ... 49.Sh DESCRIPTION 50The 51.Nm 52utility provides a shell command interface to the | 34.\" 35.Dd June 6, 1993 36.Dt LOGGER 1 37.Os 38.Sh NAME 39.Nm logger 40.Nd make entries in the system log 41.Sh SYNOPSIS 42.Nm 43.Op Fl 46Ais 44.Op Fl f Ar file 45.Op Fl h Ar host 46.Op Fl p Ar pri 47.Op Fl t Ar tag 48.Op Ar message ... 49.Sh DESCRIPTION 50The 51.Nm 52utility provides a shell command interface to the |
53.Xr syslog 3 | 53.Xr syslog 3 |
54system log module. 55.Pp 56The following options are available: 57.Bl -tag -width indent 58.It Fl 4 59Force 60.Nm 61to use IPv4 addresses only. --- 27 unchanged lines hidden (view full) --- 89For example, ``\-p local3.info'' logs the message(s) as 90.Ar info Ns rmational 91level in the 92.Ar local3 93facility. 94The default is ``user.notice.'' 95.It Fl t Ar tag 96Mark every line in the log with the specified | 54system log module. 55.Pp 56The following options are available: 57.Bl -tag -width indent 58.It Fl 4 59Force 60.Nm 61to use IPv4 addresses only. --- 27 unchanged lines hidden (view full) --- 89For example, ``\-p local3.info'' logs the message(s) as 90.Ar info Ns rmational 91level in the 92.Ar local3 93facility. 94The default is ``user.notice.'' 95.It Fl t Ar tag 96Mark every line in the log with the specified |
97.Ar tag . | 97.Ar tag . |
98.It Ar message 99Write the message to log; if not specified, and the 100.Fl f 101flag is not 102provided, standard input is logged. 103.El 104.Sh DIAGNOSTICS 105.Ex -std --- 15 unchanged lines hidden --- | 98.It Ar message 99Write the message to log; if not specified, and the 100.Fl f 101flag is not 102provided, standard input is logged. 103.El 104.Sh DIAGNOSTICS 105.Ex -std --- 15 unchanged lines hidden --- |