syslogtocern(8)

πŸ“¦
version 2.29 Β· 2 versions
, in alpine 3.24, nixos 26.05, nixpkgs unstable

πŸ’… syslogtocern β€” the glow-up your thttpd logs deserve

okay so bestie, this is syslogtocern(8) from the System Manager's Manual β€” yes, a real section-8 manpage, we love a serious girlie in the system admin section πŸ‘‘


✨ NAME ✨

syslogtocern β€” takes your thttpd syslog entries and converts them into CERN Common Log format. it's giving "translator era" πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

syslogtocern logfile ...

that's it. one command, one or more logfile args, so simple it's lowkey iconic πŸ’…


🌸 DESCRIPTION 🌸

So here's the vibe: it reads one or more syslog files as input πŸ“₯ β€” like, plural, bring all your logfiles, it can handle it.

It takes the thttpd entries out of there and converts them into CERN Combined Common Log format ✨ (yes, the Combined one, we're fancy).

Then it produces two files as output:

  • access_log πŸ”₯
  • error_log 😭
⚠️ heads up bestie: if files with those names already exist in the current directory, they are overwritten. no backup, no warning, no "are you sure?" β€” just gone, fr fr. check your cwd before you run this πŸ™ˆ

🌈 SEE ALSO 🌈

  • thttpd(8) β€” the main character this whole thing is about 🫢

πŸ’€ BUGS / DEFICIENCIES πŸ’€

Not me having to tell you this, but:

  • Lumps all thttpd processes together. πŸ’€ like, all of them. in one pile.
  • It ought to produce separate files for each process, identified by IP address and port number β€” that would be the slay version.
  • However (and this is the sad part 😭), that change represents a huge increase in complexity, so… next version. periodt.
ngl this is the "we'll fix it in post" of manpages.

πŸ‘‘ AUTHOR πŸ‘‘

Copyright © 1995 by Jef Poskanzer <jef@mail.acme.com>. All rights reserved. 🫢 we stan a 1995 icon


and that's the whole page, bestie 🌟 this one's syslogtocern(8), dated 12 October 1995 β€” yes, 1995, it's vintage, it's retro, it's literally older than most of us πŸ’… happy log converting! πŸŽ€

πŸ“¦ where this page comes from