#tail #watcher #log #log-file #rotate

bin+lib logwatch

A library to watch rotated logfiles (like 'tail -F') and execute callbacks

5 releases

0.1.4 Apr 15, 2020
0.1.3 Apr 12, 2020
0.1.2 Apr 12, 2020
0.1.1 Apr 12, 2020
0.1.0 Apr 11, 2020

#11 in #rotate

Apache-2.0

8KB
185 lines

Logwatch

This is a library crate that tails a log file, following rotates, and supports registering multiple callbacks.

See main.rs for an example.

This is a re-engineered version of a similar project: https://github.com/aravindavk/logwatcher

Dependencies

~87KB