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 (13)* | EPEL 7 (56 downloads) |
EPEL 8 | x86_64 (21)* | EPEL 8 (60 downloads) |
EPEL 9 | x86_64 (14)* | EPEL 9 (27 downloads) |
Fedora 38 | x86_64 (18)* | Fedora 38 (0 downloads) |
Fedora 39 | x86_64 (10)* | Fedora 39 (27 downloads) |
Fedora 40 | x86_64 (3)* | Fedora 40 (18 downloads) |
Fedora 41 | x86_64 (0)* | Fedora 41 (3 downloads) |
Fedora rawhide | x86_64 (18)* | Fedora rawhide (73 downloads) |
* Total number of downloaded packages.