bta/retail

Project ID: 27278

Description

This program is an attempt to write an intelligent incremental logfile reading utility. Other such utilities exist, but I could find none that would handle changing/dynamic logfiles to my satisfaction. So, having an itch of my own, I scratched it. This code is the result.

In summary, something like the following, if run as a cronjob:

retail /var/log/messages | mail youremail@yourdomain.com

Will get you all the new entries which happen to show up in your system log. In addition, it will attempt to intelligently cope with any changes to the file in question, by verifying that the data at it's last known position has not changed, and if it has it will search out that same data wherever in the file it now resides. Should this be also impossible, it will resort to rewinding to the beginning of the file and reading the entire thing.

Installation Instructions

This is a package of A.L.Lambert's retail utility.

You can add it to your system using the usual command sequence:

sudo dnf copr enable bta/retail sudo dnf install retail

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download
EPEL 7 x86_64 (9)* EPEL 7 (44 downloads)
EPEL 8 x86_64 (19)* EPEL 8 (47 downloads)
EPEL 9 x86_64 (12)* EPEL 9 (18 downloads)
Fedora 37 x86_64 (12)* Fedora 37 (0 downloads)
Fedora 38 x86_64 (12)* Fedora 38 (14 downloads)
Fedora 39 x86_64 (8)* Fedora 39 (15 downloads)
Fedora 40 x86_64 (0)* Fedora 40 (3 downloads)
Fedora rawhide x86_64 (12)* Fedora rawhide (53 downloads)

* Total number of downloaded packages.