debian/rules: Use `git' potty wrapper.
[qmail] / splogger.8
CommitLineData
2117e02e
MW
1.TH splogger 8
2.SH NAME
3splogger \- make entries in syslog
4.SH SYNOPSIS
5.B splogger
6[
7.I tag
8[
9.I fac
10]
11]
12.SH DESCRIPTION
13.B splogger
14reads a series of messages and feeds them to
15.BR syslog .
16At the front of each message it puts
17.I tag
18(default:
19.BR splogger )
20and a numerical timestamp.
21
22.B splogger
23checks for
24.B alert:
25or
26.B warning:
27at the beginning of each message.
28It selects a priority of
29LOG_ALERT, LOG_WARNING, or LOG_INFO accordingly.
30
31.B splogger
32logs messages with facility
33.IR fac .
34.I fac
35(default: 2)
36must be numeric.
37
38.B splogger
39converts unprintable characters to question marks.
40
41.B splogger
42does not log blank lines.
43
44.B splogger
45folds messages after 800 characters,
46since
47.B syslog
48can't handle long messages.
49.B splogger
50uses a + after the timestamp
51to mark folded lines.
52
53Note that the
54.B syslog
55mechanism is inherently unreliable:
56it does not guarantee that messages will be logged.
57It is also very slow.
58.SH "SEE ALSO"
59syslog(3),
60logger(8)