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

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page