Annotated edit history of
logger(1) version 1 showing authors affecting page license.
View with all changes included.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
---- |
|
|
2 |
__NAME__ |
|
|
3 |
|
|
|
4 |
|
|
|
5 |
logger - make entries in the system log |
|
|
6 |
__SYNOPSIS__ |
|
|
7 |
|
|
|
8 |
|
|
|
9 |
logger [[-isd] [[-f file] [[-p pri] [[-t tag] [[-u socket] |
|
|
10 |
[[message ...] |
|
|
11 |
__DESCRIPTION__ |
|
|
12 |
|
|
|
13 |
|
|
|
14 |
Logger provides a shell command interface to the |
|
|
15 |
syslog(3) system log module. |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
Options: |
|
|
19 |
-i Log the process id of the logger process with eachline. |
|
|
20 |
|
|
|
21 |
|
|
|
22 |
-sLog the message to standard error, as well as thesystem log.-f fileLog the specified file.-p priEnter the message with the specified priority. Thepriority may be specified numerically or as a``facility.level'' pair. For example, ``-plocal3.info'' logs the message(s) as informationallevel in the local3 facility. The default is``user.notice.''-t tagMark every line in the log with the specified tag.-u sockWrite to socket as specified with socket instead ofbuiltin syslog routines.-dUse a datagram instead of a stream connection tothis socket.--End the argument list. This is to allow the messageto start with a hyphen (-).messageWrite the message to log; if not specified, and the-f flag is not provided, standard input is logged.The logger utility exits 0 on success, and (3). |
|
|
23 |
|
|
|
24 |
|
|
|
25 |
__EXAMPLES__ |
|
|
26 |
|
|
|
27 |
|
|
|
28 |
logger System rebooted |
|
|
29 |
logger -p local0.notice -t HOSTIDM -f /dev/idmc |
|
|
30 |
__SEE ALSO__ |
|
|
31 |
|
|
|
32 |
|
|
|
33 |
syslog(3), syslogd(8) |
|
|
34 |
__STANDARDS__ |
|
|
35 |
|
|
|
36 |
|
|
|
37 |
The logger command is expected to be IEEE Std |
|
|
38 |
1003.2 (`` POSIX .2'') |
|
|
39 |
compatible. |
|
|
40 |
|
|
|
41 |
|
|
|
42 |
4.3 Berkeley Distribution June 6, 1993 1 |
|
|
43 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.