QSLOGGER

Section: qslogger man page (1)
Updated: May 2012
Index Return to Main Contents

 

NAME

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

SYNOPSIS

qslogger [-r <expression>] [-t <tag>] [-f <facility>] [-p]  

DESCRIPTION

Use this utility to to forward log messages to the systems syslog facility, e.g., to forward the messages to a remote host. It ready data from stdin.  

OPTIONS

-r <expression>
Specifies a regular expression which shall be used to determine the severity (syslog level) for each log line. The default pattern '^\[[0-9a-zA-Z :]+\] \[([a-z]+)\] ' can be used for Apache error log messages but you may configure your own pattern matchin and other log format too. Use brackets to define the string enclosing the severity string. Default level (if severity can't be determined) is NOTICE.
-t <tag>
Defines the tag name which shall be used to define the origin of the messages, e.g. 'httpd'.
-f <facility>
Defines the syslog facility. Default is 'daemon'.
-p
Writes data also to stdout (for piped logging).
 

EXAMPLE


  ErrorLog "|./qslogger -t apache -f local7"

 

SEE ALSO

qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qslog(1), qspng(1), qsrotate(1), qssign(1), qstail(1)  

AUTHOR

Pascal Buchbinder, http://opensource.adnovum.ch/mod_qos/


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLE
SEE ALSO
AUTHOR