pygtail(1)

pygtail1

Read log file lines that have not been read

Usage

pygtail [options] logfile

Overview

Print log file lines that have not been read.

Options

-h, --help

show this help message and exit

-o OFFSET_FILE, --offset-file=OFFSET_FILE

File to which offset data is written (default: <logfile>.offset).

-p, --paranoid

Update the offset file every time we read a line (as opposed to only when we reach the end of the file).

-n EVERY_N, --every-n=EVERY_N

Update the offset file every n'th time we read a line (as opposed to only when we reach the end of the file).

--no-copytruncate

Don't support copytruncate-style log rotation. Instead, if the log file shrinks, print a warning.

--version

Print version and exit.

Releases

5 releases since Debian 9 (Stretch); the text changed 2 times.

  1. 9–10
  2. 11
  3. 12–13

From pygtail 0.6.1-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.