Save rlog's Pub/Sub Log to Disk
Project description
Save rlog’s Pub/Sub Log to Disk
Installation
pip install django-rlog
Usage
Start rlog:
python manage.py rlog [channel] [filename] [handler] [when] [maxBytes] [backupCount] [debug]
Start rlistlog:
python manage.py rlistlog [key] [timeout] [filename] [handler] [when] [maxBytes] [backupCount] [debug]
Stop rlog:
python manage.py rstop [channel]
Stop rlistlog:
python manage.py rliststop [key]
Redis Connection
def get_connection():
for key in ['REDIS_CONN', 'REDIS_CLIENT', 'REDIS_CACHE']:
if hasattr(settings, key):
return getattr(settings, key)
Get Redis Connection from settings
Redis Connection in settings refer to [Django Cook Book](https://github.com/xxx-cook-book/django-cook-book/tree/master/Caches/Redis)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-rlog-1.0.7.tar.gz
(3.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
django_rlog-1.0.7-py2.7.egg
(13.2 kB
view details)
File details
Details for the file django-rlog-1.0.7.tar.gz.
File metadata
- Download URL: django-rlog-1.0.7.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3fadf3f73d22c4f593c37b41943df61615b3681769cb771bee20e18f8492f054
|
|
| MD5 |
c61e73f790a3d978d35bd8faa9348da0
|
|
| BLAKE2b-256 |
98a0ad486bd44b08b4b5ecdffb3f23bd02d4e39fb2638021687cb9e3107e1490
|
File details
Details for the file django_rlog-1.0.7-py2.7.egg.
File metadata
- Download URL: django_rlog-1.0.7-py2.7.egg
- Upload date:
- Size: 13.2 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5074098cc25a08ca72d700610f84ac82f664690a87660343256a5ab97416989e
|
|
| MD5 |
d34e8878c69cb8ceeb770c82d48192e3
|
|
| BLAKE2b-256 |
4883032c12a961d13110fca34e96e89f7fd76dbaa148dfdcb45f829cf05c37bf
|