An open API service indexing awesome lists of open source software.

https://github.com/basiliscos/perl-watcher-engine-watcher-filetail

Inotify-based file tail watcher
https://github.com/basiliscos/perl-watcher-engine-watcher-filetail

Last synced: about 2 months ago
JSON representation

Inotify-based file tail watcher

Awesome Lists containing this project

README

          

perl-watcher-engine-watcher-filetail
====================================

![Build status](https://api.travis-ci.org/basiliscos/perl-watcher-engine-watcher-filetail.png "Build status")

Inotify-based file tail watcher allows you to track changes (e.g. log file addons)
on the particular file on filesystem.

Add to ~/.perl-watcher/engine.conf filetail watcher like:

```
{
class => 'App::PerlWatcher::Watcher::FileTail',
config => {
file => '/var/log/messages',
lines_number => 10,
filter => sub { $_ !~ /\scron/ },
},
},

```