---
name: "pygtail"
section: "1"
platform: "linux"
package: "pygtail"
version: "0.6.1-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/pygtail"
---

# pygtail(1)

read log file lines that have not been read

## 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

- **-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.
