Simple package for live streaming of file.
Project description
=====
Django Live Log
=====
django_live_log is a package which can see live stream of file, such as log file, etc.
Quick start
-----------
1. Add "django_live_log" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'django_live_log',
]
2. Include the django_live_log URLconf in your project urls.py like this::
url(r'^dll/', include('django_live_log.urls')),
3. Add "DLL_FILE" to settings.py
4. Visit http://127.0.0.1:8000/dll/ to participate in the poll.
Options
----------
* DLL_URL in settings.py.
Usage:
DLL_URL = "/myurl/"
so dll wii serve at `domain.com/dll/myurl/`
* from
Start pointer reading from file.
Usage:
domain.com/dll/myurl/?from=500
* file_path
absolute path of file to log
Usage:
domain.com/dll/myurl/?file_path=/var/log/myfile.log
- Should have read permission
Django Live Log
=====
django_live_log is a package which can see live stream of file, such as log file, etc.
Quick start
-----------
1. Add "django_live_log" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'django_live_log',
]
2. Include the django_live_log URLconf in your project urls.py like this::
url(r'^dll/', include('django_live_log.urls')),
3. Add "DLL_FILE" to settings.py
4. Visit http://127.0.0.1:8000/dll/ to participate in the poll.
Options
----------
* DLL_URL in settings.py.
Usage:
DLL_URL = "/myurl/"
so dll wii serve at `domain.com/dll/myurl/`
* from
Start pointer reading from file.
Usage:
domain.com/dll/myurl/?from=500
* file_path
absolute path of file to log
Usage:
domain.com/dll/myurl/?file_path=/var/log/myfile.log
- Should have read permission
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django_live_log-1.0.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for django_live_log-1.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08601d4808edae14e7deeecd86b3cf1857206cb61873ebc3f2319f609cfd87d9 |
|
MD5 | 98e7f572f0f1badeba7dfbf7ea9c6576 |
|
BLAKE2b-256 | 942ce8d867f7dd9a37813ba3441746c75a9810aa6023a5bc7caf658e335d1be9 |