forked from aperezdc/dmon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dslog.8
89 lines (89 loc) · 2.64 KB
/
dslog.8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
.\" Man page generated from reStructuredText.
.
.TH DLOG 8 "" "" ""
.SH NAME
dlog \- Send lines from standard input to the system log
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.SH SYNOPSIS
.sp
\fBdslog [options] name\fP
.SH DESCRIPTION
.sp
The \fBdslog\fP program sends lines given as standard input to the system
logger, one line at a time, with a selectable priority, facility and origin
program name.
.SH USAGE
.sp
Command line options:
.INDENT 0.0
.TP
.BI \-p \ PRIORITY\fR,\fB \ \-\-priority \ PRIORITY
Priority of messages. Refer to \fIsyslog(3)\fP to see possible
values. Just pass any valid priority without the \fBLOG_\fP
prefix. Case does not matter.
.TP
.BI \-f \ FACILITY\fR,\fB \ \-\-facility \ FACILITY
Logging facility. Refer to \fIsyslog(3)\fP to see possible values.
Just pass any valid facility without the \fBLOG_\fP prefix. Case
does not matter.
.TP
.BI \-i \ NUMBER\fR,\fB \ \-\-input\-fd \ NUMBER
Use file descriptor \fBNUMBER\fP to read input. By default the
standard input descriptor (number \fB0\fP) is used.
.TP
.B \-c\fP,\fB \-\-console
If a message cannot be sent to the system logger, print a copy
of it to the system console.
.TP
.B \-e\fP,\fB \-\-skip\-empty
Ignore empty input lines. An empty line is one that does not
contain any characters; a line which contains whitespace is
\fBnot\fP considered empty.
.TP
.B \-h\fP,\fB \-\-help
Show a summary of available options.
.UNINDENT
.sp
Albeit it can be used stan\-alone, most of the time you will be running
\fBdslog\fP under a process control tool like \fIdmon(8)\fP or \fIsupervise(8)\fP\&.
.SH ENVIRONMENT
.sp
Additional options will be picked from the \fBDSLOG_OPTIONS\fP environment
variable, if defined. Any command line option can be specified this way.
Arguments read from the environment variable will be prepended to the ones
given in the command line, so they may still be overriden.
.SH SEE ALSO
.sp
\fIdmon(8)\fP, \fIdlog(8)\fP, \fIrotlog(8)\fP, \fImultilog(8)\fP, \fIsupervise(8)\fP
.sp
\fI\%http://cr.yp.to/daemontools.html\fP
.SH AUTHOR
Adrian Perez <aperez@igalia.com>
.\" Generated by docutils manpage writer.
.