1QSLOGGER(1)                    qslogger man page                   QSLOGGER(1)
2
3
4

NAME

6       qslogger  -  another  shell  command interface to the system log module
7       (syslog).
8

SYNOPSIS

10       qslogger [-t <tag>] [-f <facility>] [-l <level>] [-x <prefix>] [-r <ex‐
11       pression>] [-d <level>] [-u <name>] [-p]
12

DESCRIPTION

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

OPTIONS

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' (forwarding 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 en‐
42              closing the severity string. Default level (if severity can't be
43              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 severity can't be determined. Default is
48              'NOTICE'.
49
50       -p     Writes data also to stdout (for piped logging).
51

EXAMPLE

53         ErrorLog "|/usr/bin/qslogger -t apache -f local7"
54
55

SEE ALSO

57       qsdt(1),  qsexec(1),  qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qs‐
58       log(1), qspng(1), qsre(1), qsrespeed(1),  qsrotate(1),  qssign(1),  qs‐
59       tail(1)
60

AUTHOR

62       Pascal Buchbinder, http://mod-qos.sourceforge.net/
63
64
65
66mod_qos utilities 11.74            May 2023                        QSLOGGER(1)
Impressum