skip to navigation
skip to content

django-rlog 1.0.7

Save rlog's Pub/Sub Log to Disk

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)
 
File Type Py Version Uploaded on Size
django-rlog-1.0.7.tar.gz (md5) Source 2016-08-23 3KB
django_rlog-1.0.7-py2.7.egg (md5) Python Egg 2.7 2016-08-23 12KB