Scroll to navigation

PYGTAIL(1) User Commands PYGTAIL(1)

NAME

pygtail - read log file lines that have not been read

SYNOPSIS

pygtail [options] logfile

DESCRIPTION

Print log file lines that have not been read.

OPTIONS

show this help message and exit
File to which offset data is written (default: <logfile>.offset).
Update the offset file every time we read a line (as opposed to only when we reach the end of the file).
Update the offset file every n'th time we read a line (as opposed to only when we reach the end of the file).
Don't support copytruncate-style log rotation. Instead, if the log file shrinks, print a warning.
Print version and exit.
June 2022 pygtail 0.6.1