| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: logger.1,v 1.16 2020/06/25 15:21:56 jruoho Exp $ | | 1 | .\" $NetBSD: logger.1,v 1.17 2020/06/26 15:46:28 wiz Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 1983, 1990, 1993 | | 3 | .\" Copyright (c) 1983, 1990, 1993 |
4 | .\" The Regents of the University of California. All rights reserved. | | 4 | .\" The Regents of the University of California. All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" Redistribution and use in source and binary forms, with or without | | 6 | .\" Redistribution and use in source and binary forms, with or without |
7 | .\" modification, are permitted provided that the following conditions | | 7 | .\" modification, are permitted provided that the following conditions |
8 | .\" are met: | | 8 | .\" are met: |
9 | .\" 1. Redistributions of source code must retain the above copyright | | 9 | .\" 1. Redistributions of source code must retain the above copyright |
10 | .\" notice, this list of conditions and the following disclaimer. | | 10 | .\" notice, this list of conditions and the following disclaimer. |
11 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 11 | .\" 2. Redistributions in binary form must reproduce the above copyright |
12 | .\" notice, this list of conditions and the following disclaimer in the | | 12 | .\" notice, this list of conditions and the following disclaimer in the |
13 | .\" documentation and/or other materials provided with the distribution. | | 13 | .\" documentation and/or other materials provided with the distribution. |
14 | .\" 3. Neither the name of the University nor the names of its contributors | | 14 | .\" 3. Neither the name of the University nor the names of its contributors |
| @@ -41,27 +41,26 @@ | | | @@ -41,27 +41,26 @@ |
41 | .Op Fl d Ar SD | | 41 | .Op Fl d Ar SD |
42 | .Op Fl f Ar file | | 42 | .Op Fl f Ar file |
43 | .Op Fl m Ar msgid | | 43 | .Op Fl m Ar msgid |
44 | .Op Fl p Ar pri | | 44 | .Op Fl p Ar pri |
45 | .Op Fl t Ar tag | | 45 | .Op Fl t Ar tag |
46 | .Op Ar message ... | | 46 | .Op Ar message ... |
47 | .Sh DESCRIPTION | | 47 | .Sh DESCRIPTION |
48 | .Nm | | 48 | .Nm |
49 | provides a shell command interface to the | | 49 | provides a shell command interface to the |
50 | .Xr syslog 3 | | 50 | .Xr syslog 3 |
51 | system log module. | | 51 | system log module. |
52 | .Pp | | 52 | .Pp |
53 | Options: | | 53 | Options: |
54 | .Pp | | | |
55 | .Bl -tag -width "messageXX" | | 54 | .Bl -tag -width "messageXX" |
56 | .It Fl c | | 55 | .It Fl c |
57 | Log to console as a fallback | | 56 | Log to console as a fallback |
58 | .Dv ( LOG_CONS ) : | | 57 | .Dv ( LOG_CONS ) : |
59 | if the message cannot be passed to | | 58 | if the message cannot be passed to |
60 | .Xr syslogd 8 , | | 59 | .Xr syslogd 8 , |
61 | the message is written to | | 60 | the message is written to |
62 | .Pa /dev/console . | | 61 | .Pa /dev/console . |
63 | .It Fl d Ar sd | | 62 | .It Fl d Ar sd |
64 | Log this in the structured data (SD) field. | | 63 | Log this in the structured data (SD) field. |
65 | .Po | | 64 | .Po |
66 | .Ar sd | | 65 | .Ar sd |
67 | has to be passed as one argument and will require careful quoting when used from | | 66 | has to be passed as one argument and will require careful quoting when used from |