Skip to main content

A command-line tool and module for convenient APT log file display and filtering

Project description

apt-log

apt-log is a command-line tool that offers a user-friendly display and convenient filtering for APT package logs.

The package also contains a Python module that provides a parser and high-level interface to APT package logs.

Quick Navigation

Installation

Requires Python version 3.9 or higher and pip.

pip install apt-log

Usage

Expore the entire history

apt-log list

Quick filters

  • by time range:

    apt-log list -s 2023-01-01 -e 2023-01-31
    
  • by a specific package or multiple packages using glob-style pattern matching:

    apt-log list -n python3
    apt-log list -n 'python3.*'
    

Dive into details

Inspect a specific log entry using the assigned ID in the list.

apt-log show 13

Note: The IDs are not generated by APT itself but are assigned by apt-log in ascending chronological order. Be aware that any manipulation of APT log files, such as the deletion of old log files, may result in changes to these IDs.

License

apt-log is distributed under the terms of the MIT License.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

apt_log-0.1.tar.gz (5.7 kB view hashes)

Uploaded Source

Built Distribution

apt_log-0.1-py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 3

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