1QSLOGGER(1) qslogger man page QSLOGGER(1)
2
3
4
6 qslogger - another shell command interface to the system log module
7 (syslog).
8
10 qslogger [-t <tag>] [-f <facility>] [-l <level>] [-x <prefix>] [-r
11 <expression>] [-d <level>] [-u <name>] [-p]
12
14 Use this utility to forward log messages to the systems syslog facil‐
15 ity, e.g., to forward the messages to a remote host. It reads data from
16 stdin.
17
19 -t <tag>
20 Defines the tag name which shall be used to define the origin of
21 the messages, e.g. 'httpd'.
22
23 -f <facility>
24 Defines the syslog facility. Default is 'daemon'.
25
26 -u <name>
27 Becomes another user, e.g. www-data.
28
29 -l <level>
30 Defines the minimal severity a message must have in order to be
31 forwarded. Default is 'DEBUG' (fowarding everything).
32
33 -x <prefix>
34 Allows you to add a prefix (literal string) to every message.
35
36 -r <expression>
37 Specifies a regular expression which shall be used to determine
38 the severity (syslog level) for each log line. The default pat‐
39 tern '^\[[0-9a-zA-Z :]+\] \[([a-z]+)\] ' can be used for Apache
40 error log messages but you may configure your own pattern match‐
41 ing other log formats. Use brackets to define the pattern
42 enclosing the severity string. Default level (if severity can't
43 be determined) is defined by the option '-d' (see below).
44
45 -d <level>
46 The default severity if the specified pattern (-r) does not
47 match and the message's serverity can't be determined. Default
48 is 'NOTICE'.
49
50 -p Writes data also to stdout (for piped logging).
51
53 ErrorLog "|./qslogger -t apache -f local7"
54
55
57 qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1),
58 qspng(1), qsrotate(1), qssign(1), qstail(1)
59
61 Pascal Buchbinder, http://mod-qos.sourceforge.net/
62
63
64
65mod_qos utilities 11.55 June 2018 QSLOGGER(1)