Skip to main content

Process log file lines that have not been read.

Project description

Python logtail

Python implementation of the logtail tool for use in python projects to process log file lines that have not been read.

Usage

#!/usr/bin/env python3

from logtail import logtail

log = logtail("file.log")

for line in log.readline():
    if line:
        print(line.rstrip())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pylogtail-0.9.1.tar.gz (2.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page