Skip to content

A Python package for analyzing, verifying, and monitoring text-based log files. Includes tools for file existence checks, log tail analysis, text searches, and more.

License

Notifications You must be signed in to change notification settings

LibSecSource/text-log-check

TextLogCheck

A Python package for analyzing, verifying, and monitoring text-based log files. Includes tools for file existence checks, log tail analysis, text searches, and more.

You can find Full Project Documentation here


Workflows

Tests Pylint

Package

Version Development Status Python version License Wheel

Support

Documentation Discussions Issues

Downloads

Day Downloads Week Downloads Month Downloads All Downloads

Languages

Languages Top Language

Development

  • Release date Last Commit
  • Issues Closed Issues
  • Pull Requests Closed Pull Requests
  • Discussions

Menu

Mission

To provide a reliable, open-source Python solution for managing and analyzing text-based log files, empowering developers, system administrators, and security professionals with tools to ensure log integrity, streamline troubleshooting, and enhance system monitoring practices.

Open Source Project

This is the open source project with Happy Code license. Be free to use, fork, clone and contribute.

Features

  • Check if log file exists
  • Read tail of log file
  • Clear log file
  • Check if user can change log file
  • Check if user can delete log file (Plan)
  • Search text in log file (Plan)
  • Modify log file (Plan)

Requirements

Development Status

Install

with pip

pip install text-log-check

See more in Full Documentation

Quickstart

from text_log_check import exists, tail, clear, is_modifiable

if exists('/var/log/auth.log'):
    print(tail('var/log/auth.log', 5))
    if is_modifiable('var/log/auth.log'):
        clear('var/log/auth.log')

More examples in Full Documentation

Contributing

You are welcome! To easy start please check:

About

A Python package for analyzing, verifying, and monitoring text-based log files. Includes tools for file existence checks, log tail analysis, text searches, and more.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published