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.

Source Distribution

django-rlog-1.0.7.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

django_rlog-1.0.7-py2.7.egg (13.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page