PYGTAIL(1)
π NAME π
ok so bestie, meet pygtail β she reads log file lines that have not been read. that's it, that's the whole job, and she does it flawlessly π
β¨ SYNOPSIS β¨
pygtail [options] logfile
πΈ DESCRIPTION πΈ
She prints the log file lines that have not been read yet. Like a lil bookmark for your logs β you look away, stuff gets logged, you come back and she hands you only the new bits. no re-reading the whole thing, no scrolling through ancient drama. obsessed. π¦
π OPTIONS π
-h,--helpβ shows this help message and dips. the classic "wait what does this do again" button π-o OFFSET_FILE,--offset-file=OFFSET_FILEβ the file where offset data gets written. the default is<logfile>.offset, so like, your logfile but with.offsettacked on the end. that's her lil memory keeper π-p,--paranoidβ updates the offset file every single time she reads a line. yes, every one. as opposed to only when we reach the end of the file. she's anxious but she's thorough, and honestly? respect π«Ά-n EVERY_N,--every-n=EVERY_Nβ updates the offset file every n'th time we read a line, instead of only when we reach the end of the file. so you pick your own level of commitment. not too paranoid, not too chill. balance β¨--no-copytruncateβ don't support copytruncate-style log rotation. instead, if the log file shrinks, she'll print a warning at you. so like, heads up: this is the "no, I don't do that rotation trick" flag, and the fallback is a warning, not a fix. lowkey important, don't skip it π--versionβ prints the version and exits. bye π
no cap:--paranoidand--every-nare both about when the offset file gets saved. default vibe = save only at end of file. these two make her save more often, just at different rhythms. and--no-copytruncatechanges what happens when the log shrinks β warning instead of support. keep those straight, bestie π§
π that's the whole page, periodt π
this was pygtail 0.6.1, from June 2022 β go forth and tail your logs like the main character you are πππ
π¦ where this page comes from
- debian bookworm: pygtail 0.6.1-3 Β· GPL-2.0-or-later
- debian trixie: pygtail 0.6.1-3 Β· GPL-2.0-or-later
- ubuntu noble: pygtail 0.6.1-3 Β· GPL-2.0-or-later
- ubuntu questing: pygtail 0.6.1-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms