https://github.com/chubin/tailer
https://github.com/chubin/tailer
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chubin/tailer
- Owner: chubin
- Created: 2015-12-05T22:00:36.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-05T22:22:52.000Z (over 9 years ago)
- Last Synced: 2025-04-15T14:07:23.250Z (about 2 months ago)
- Language: Python
- Size: 1.95 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tailer
## Requirements
* gevent
* Flask
* multitailThe requirements are listed in requirements.txt,
so you can install them using `pip`:```
pip install -r requirements.txt
```## Usage
Files listed in the `logfiles` variable
are scanned, and new lines in them (in `tail-f`-fashion) are published via SSE.Run the web server and open its main page in browser (http://127.0.0.1:5000/):
```
# if virtualenv is used
virtualenv ve
ve/bin/pip install -r requirements.txt
ve/bin/python tailer.py
```To generate test messages in the log files run
```
bash generate-data.sh
```