EnglishFrenchSpanish

OnWorks favicon

qslogger - Online in the Cloud

Run qslogger in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command qslogger that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


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

SYNOPSIS


qslogger [-r <expression>] [-t <tag>] [-f <facility>] [-l <level>] [-d <level>] [-u
<name>] [-p]

DESCRIPTION


Use this utility to forward log messages to the systems syslog facility, e.g., to forward
the messages to a remote host. It reads 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 matching and other log format too. Use brackets to define the string
enclosing the severity string. Default level (if severity can't be determined) is
defined by the option '-d' (see below).

-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'.

-u <name>
Becomes another user, e.g. www-data.

-l <level>
Defines the minimal severity a message must have in order to be forwarded. Default
is 'DEBUG' (fowarding everything).

-d <level>
The default severity if the specified pattern (-r) does not match and the message's
serverity can't be determined. Default is 'NOTICE'.

-p Writes data also to stdout (for piped logging).

EXAMPLE


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

Use qslogger online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

Ad