metalog(8)
π metalog(8) β the syslog daemon that actually gets you π
okay bestie, sit down, hydrate, because we're talking about metalog, aka an alternative syslog daemon, and she is the moment. yes this is section 8 of the manual, yes it's a daemon, no it's not boring, i promise.
β¨ NAME β¨
metalog β an alternative syslog daemon π¦
β¨ SYNTAX β¨
metalog [options]
that's it. that's the whole summoning ritual. no cap.
β¨ DESCRIPTION β¨
so Metalog is a modern replacement for syslogd and klogd and honestly? she ate. the whole vibe is that every logged message can be dispatched based on its facility, its urgency, the program name, and/or Perl-compatible regular expressions. like, you can sort your logs by literally any criteria you can dream up. iconic behavior.
log files? they can be automatically rotated when they get too big or too old. no more manually babysitting them at 3am. π
and here's the fun part β external shell scripts (think: mail, or whatever chaos you script) can be launched when specific patterns are found. your logs can literally trigger other things. main character energy fr fr.
Logs are written according to RFC3164, RFC5423, or a minimal format with optional severity levels. pick your aesthetic, bestie. β¨
she can also send her logs to remote syslog servers via UDP π. and she can gather info from the kernel or /dev/log, plus from several Unix Domain Sockets β which means chrooted and containerized apps can log to her too. inclusivity queen π
.
tl;dr on why you should care: Metalog is easier to configure than syslogd and syslog-ng, accepts an unlimited number of rules, and has (switchable) memory bufferisation for maximal performance. she's low maintenance and high performance. the dream.
β¨ OPTIONS β¨
here come the flags, bestie. every single one. don't skip, i'll know. π
-a,--asyncβ glow up your performance by using buffers. β οΈ bug: log files won't get updated in real time (yes that's how it's written in the manual, and yes, it means exactly what you think it means β buffering delay, bestie). can be overridden for individual logs.-B,--daemonizeβ have the server start in the background (daemonization). she's independent, she doesn't need you hovering. π-c,--consolelevel=0..7β set the console log level. note: Linux only π§.-C,--configfile=fileβ use an alternate configuration file. go off, be different.-g,--group=groupβ change the GID of the metalog process. any files she creates will be owned by this group. π«Ά-h,--helpβ output help information and exit. the classic "hey what do i do" move.-N,--no-kernelβ do not attempt to log messages from the kernel. sometimes you just don't wanna hear from kernel, and that's valid.-p,--pidfile=fileβ use an alternate file to store the process number. π-S,--socket=pathβ use an alternate socket path for the main syslog listener.-s,--sync,--synchronousβ start in synchronous mode, with no bufferization. can be overridden for individual logs.-t,--test-configβ exit after parsing the config file(s). returns0if config is ok. this is the vibe check for your config file, and she passes or she doesn't. β¨-v,--verboseβ run in verbose mode (useful for debugging behavior).-V,--versionβ display metalog version information.
β¨ SIGNALS β¨
she listens to you, bestie. send these and watch her move:
SIGUSR1β enable synchronous mode. π’SIGUSR2β disable synchronous mode. π΄
β¨ FILES β¨
β οΈ heads up: the exact paths depend on the build settings. these are the standard paths.
/etc/metalog.conf/var/run/metalog.pid/dev/log
β¨ AUTHORS β¨
the girlies (and guys) behind the girl π β give them their flowers:
- Mike Frysinger
<vapier@gentoo.org> - Laurent Wandrebeck (low)
<wandre.l@free.fr> - Leo Lipelis
<aeoo@gentoo.org> - Hendrik Visage
<hvisage@users.sourceforge.net> - Frank DENIS (Jedi/Sector One)
<j@pureftpd.org>
β¨ SEE ALSO β¨
metalog.conf(5)β go read her sister's page, they're a package deal πΈ
and that's the whole page, bestie π this was metalog(8), the Syslog daemon page β written by Frank DENIS, page 4 of the manual, and honestly she's a legend. now go configure something and slay. periodt. π β¨π¦
π¦ where this page comes from
- alpine 3.24: metalog-doc 20260221-r0 Β· GPL-2.0-only
- arch rolling: metalog 20260221-1 Β· GPL-2.0-only
- ubuntu stonking: metalog 20260221-2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms