Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ridha/logviewer
Logviewer allows you to tail files to the web
https://github.com/ridha/logviewer
Last synced: 3 months ago
JSON representation
Logviewer allows you to tail files to the web
- Host: GitHub
- URL: https://github.com/ridha/logviewer
- Owner: ridha
- Created: 2017-01-29T02:00:19.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-31T01:27:33.000Z (about 8 years ago)
- Last Synced: 2024-11-07T08:46:26.914Z (3 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
=========
Logviewer
=========Logviewer allows you to tail files to the web for sharing with other people.
Requirements:
- Python >= 3.6
- aiohttp
- aiohttp_jinja2Install Logviewer:
.. code-block:: bash
$ pip3 install logviewer
Usage:
.. code-block:: bash
$ logviewer -f /path/to/file.log --port 8080
$ tail -f /path/to/file.log | logviewerCommand line options are:
.. code-block:: bash
-p PORT, --port PORT Specify the webserver port (default to 8080)
-f FILE, --file FILE File path (default to stdin)