FLOG(1)
π FLOG(1) β the file logger that's literally just vibing π
okay bestie, welcome to the flog manual page, from the General Commands Manual, and no cap this little guy is iconic. she's called flog (short for file logger, iykyk) and she does one thing and she does it beautifully. π¦
β¨ NAME β¨
flog β dump STDIN to file and reopen on SIGHUP π
πΈ SYNOPSIS πΈ
flog [ -t ] [ -T format ] [ -l number ] [ -F fifo ] [ -p pidfile ]
logfile
π DESCRIPTION π
so here's the tea β β flog reads input from STDIN and writes it to a file. that's it. that's the whole job. main character energy fr fr. π
and the way that she handles log rotation?? obsessed. when a SIGHUP shows up, the file gets reopened, which is what lets you do log rotation without ever killing her. she just closes the door, opens it again, and keeps going. periodt. π
π OPTIONS π
-tβ prepends each line with"YYYYMMDD;HH:MM:SS: "so every entry gets a timestamp glow-up β¨-T formatβ same idea but your choice: prepend each line with thestrftime(3)format you specify. bespoke timestamps, we love to see it π-l numberβ log file length limit, and it forces truncation. she will cut it off atnumber. no negotiation. π₯-F fifoβ read fromfifoinstead of a pipe π§-p pidfileβ create a pid file π
π«Ά AUTHOR π«Ά
Fredrik Sjoholm <fredrik@sjoholm.com> β ty king, we appreciate you π
β LICENSE β
Licensed under the GNU General Public License. free as in freedom, slay. π
π heads up bestie: -l number is a forced truncation, meaning she will chop that log file down to size. that's not a gentle suggestion, that's the whole vibe.
that's the whole page, and yes it's from March 2008 and lives in the General Commands Manual under section 1 (FLOG(1)) π go forth and log your little heart out, babe. byeeee β¨ππ¦
π¦ where this page comes from
- debian bookworm: flog 1.8+orig-2
- ubuntu jammy: flog 1.8+orig-2
- ubuntu noble: flog 1.8+orig-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms