Skip to main content

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-rlog, version 1.0.7
Filename, size File type Python version Upload date Hashes
Filename, size django_rlog-1.0.7-py2.7.egg (13.2 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size django-rlog-1.0.7.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page