Mtail is a barebones Python package that monitors all files in a directory for new content. Mtail accounts for log rotation.
$ pip install mtail
Navigate to the directory to be monitored:
cd /path/to/directory
Run mtail:
$ mtail
- Add monitoring for new files created during runtime
- Convert to serverless function using OpenFAAS
- Test suite