Project ID: 27278


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

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 (42 downloads)
EPEL 8 x86_64 (19)* EPEL 8 (47 downloads)
EPEL 9 x86_64 (12)* EPEL 9 (16 downloads)
Fedora 37 x86_64 (12)* Fedora 37 (0 downloads)
Fedora 38 x86_64 (12)* Fedora 38 (12 downloads)
Fedora 39 x86_64 (8)* Fedora 39 (12 downloads)
Fedora 40 x86_64 (0)* Fedora 40 (0 downloads)
Fedora rawhide x86_64 (12)* Fedora rawhide (52 downloads)

* Total number of packages downloaded in the last seven days.