QSLOGGER(1)
π qslogger(1) β bestie edition π
okay so welcome to the qslogger page, it's one of the mod_qos utilities and honestly it's giving "tiny tool, big main character energy". let's get into it π«Ά
β¨ NAME β¨
qslogger β another shell command interface to the system log module (syslog). yeah, "another" one. she said there's room for more than one icon π
β¨ SYNOPSIS β¨
qslogger [-t <tag>] [-f <facility>] [-l <level>] [-x <prefix>] [-r
<expression>] [-d <level>] [-u <name>] [-p]
β¨ DESCRIPTION β¨
so basically, bestie, you use this utility to forward log messages to the system's syslog facility β like, say, forwarding them over to a remote host. it reads its data from stdin, so you pipe stuff into it and she takes it from there. no cap. πΈ
β¨ OPTIONS β¨
-t<tag>β sets the tag name that defines the origin of the messages, e.g.'httpd'. it's literally the name tag of your log lines π-f<facility>β sets the syslog facility. default is'daemon'. pick your lane β¨-u<name>β becomes another user, e.g.www-data. yes she can do a little identity switch, periodt π-l<level>β sets the minimal severity a message must have in order to be forwarded. default is'DEBUG', which means forwarding everything (she's not picky, she's inclusive π).-x<prefix>β lets you add a prefix (a literal string) to every single message. a lil signature on every line π-r<expression>β specifies a regular expression used to determine the severity (syslog level) for each log line. the default pattern'^\[[0-9a-zA-Z :]+\] \[([a-z]+)\] 'works for Apache error log messages, but you can configure your own pattern matching other log formats. use brackets to define the pattern enclosing the severity string. and if the severity can't be determined, the default level comes from the'-d'option (see below, bestie, keep reading π).-d<level>β the default severity when the pattern from-rdoesn't match and the message's severity can't be figured out. default is'NOTICE'. the fallback queen π-pβ writes data also tostdout(for piped logging). double-dipping, but make it logging π
β¨ EXAMPLE β¨
ErrorLog "|/usr/bin/qslogger -t apache -f local7"
look at her go π she's being piped straight into from Apache and she ate π₯
β¨ SEE ALSO β¨
qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1)
the whole friend group π¦ go say hi to all of them
β¨ AUTHOR β¨
Pascal Buchbinder, http://mod-qos.sourceforge.net/ β thank you for this icon, we're obsessed π«Ά
and that's the page!! mod_qos utilities 11.74, May 2023 β that's the version and the date, bestie, written down so you never forget. slay, bye πβ¨π
π¦ where this page comes from
- epel 9: mod_qos 11.74-1.el9 Β· GPLv2
- ubuntu noble: libapache2-mod-qos 11.74-1build3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms