logger.1 (1591) | logger.1 (27604) |
---|---|
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. --- 24 unchanged lines hidden (view full) --- 33.\" 34.Dd June 6, 1993 35.Dt LOGGER 1 36.Os BSD 4.3 37.Sh NAME 38.Nm logger 39.Nd make entries in the system log 40.Sh SYNOPSIS | 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. --- 24 unchanged lines hidden (view full) --- 33.\" 34.Dd June 6, 1993 35.Dt LOGGER 1 36.Os BSD 4.3 37.Sh NAME 38.Nm logger 39.Nd make entries in the system log 40.Sh SYNOPSIS |
41.Nm logger | 41.Nm |
42.Op Fl is 43.Op Fl f Ar file 44.Op Fl p Ar pri 45.Op Fl t Ar tag 46.Op Ar message ... 47.Sh DESCRIPTION 48.Nm Logger 49provides a shell command interface to the --- 26 unchanged lines hidden (view full) --- 76.It Ar message 77Write the message to log; if not specified, and the 78.Fl f 79flag is not 80provided, standard input is logged. 81.El 82.Pp 83The | 42.Op Fl is 43.Op Fl f Ar file 44.Op Fl p Ar pri 45.Op Fl t Ar tag 46.Op Ar message ... 47.Sh DESCRIPTION 48.Nm Logger 49provides a shell command interface to the --- 26 unchanged lines hidden (view full) --- 76.It Ar message 77Write the message to log; if not specified, and the 78.Fl f 79flag is not 80provided, standard input is logged. 81.El 82.Pp 83The |
84.Nm logger | 84.Nm |
85utility exits 0 on success, and >0 if an error occurs. 86.Sh EXAMPLES 87.Bd -literal -offset indent -compact 88logger System rebooted 89 90logger \-p local0.notice \-t HOSTIDM \-f /dev/idmc 91.Ed 92.Sh SEE ALSO 93.Xr syslog 3 , 94.Xr syslogd 8 95.Sh STANDARDS 96The | 85utility exits 0 on success, and >0 if an error occurs. 86.Sh EXAMPLES 87.Bd -literal -offset indent -compact 88logger System rebooted 89 90logger \-p local0.notice \-t HOSTIDM \-f /dev/idmc 91.Ed 92.Sh SEE ALSO 93.Xr syslog 3 , 94.Xr syslogd 8 95.Sh STANDARDS 96The |
97.Nm logger | 97.Nm |
98command is expected to be 99.St -p1003.2 100compatible. | 98command is expected to be 99.St -p1003.2 100compatible. |