PENLOG(1)

πŸ’– PENLOG(1) β€” bestie edition πŸ’–

General Commands Manual · section 1 · aka the lil log-shipper that could 🫢


✨ NAME ✨

penlog β€” pipe Apache logs to penlogd, fr fr 🌸


πŸŽ€ SYNOPSIS πŸŽ€

penlog server_ip server_port [my_ip]

like. that's it. that's the whole vibe check. πŸ’…


🌈 EXAMPLE 🌈

penlog lbhost:10000

look at her go 😭 she's literally doing it


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea β˜• β€” penlog reads webserver log entries from stdin and sends them over UDP to penlogd. that's the whole job. she's a courier, not a main character, but she is the main character in my heart πŸ’œ

she's meant for Apache's "reliable piped logs" btw β€” iykyk πŸ‘‘

to use penlog from Apache, you drop a command like this into the webserver's httpd.conf:

CustomLog "|/usr/local/bin/penlog somehost 10000" common

that third argument (my_ip) is optional, and you only need it if your server is out here with several addresses ✨ because penlogd uses the source address to figure out which server it's talking to. so that source address has to be identical to the address you configured on the command line for Pen. no cap, they gotta match exactly or it's giving confusion 😭

🚨 bestie listen: if you've got multiple addresses on the box and you don't tell penlog which one is you, penlogd won't recognise you. the source address and the Pen command-line address have to be the same, periodt.

πŸ‘‘ SEE ALSO πŸ‘‘

go read those too, they're iconic πŸ’–


🌸 AUTHOR 🌸

Copyright (C) 2002-2015 Ulric Eriksson, <ulric@siag.nu>.


and that's the whole page, babe β€” this is the <b>LOCAL</b> section of the <b>PENLOG(1)</b> manual, and it's been serving these facts since 2002 all the way through 2015, courtesy of Ulric Eriksson πŸ’…βœ¨

πŸ“¦ where this page comes from