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 details)

Uploaded Source

Built Distribution

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

Uploaded Source

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

Hashes for django-rlog-1.0.7.tar.gz
Algorithm Hash digest
SHA256 3fadf3f73d22c4f593c37b41943df61615b3681769cb771bee20e18f8492f054
MD5 c61e73f790a3d978d35bd8faa9348da0
BLAKE2b-256 98a0ad486bd44b08b4b5ecdffb3f23bd02d4e39fb2638021687cb9e3107e1490

See more details on using hashes here.

File details

Details for the file django_rlog-1.0.7-py2.7.egg.

File metadata

File hashes

Hashes for django_rlog-1.0.7-py2.7.egg
Algorithm Hash digest
SHA256 5074098cc25a08ca72d700610f84ac82f664690a87660343256a5ab97416989e
MD5 d34e8878c69cb8ceeb770c82d48192e3
BLAKE2b-256 4883032c12a961d13110fca34e96e89f7fd76dbaa148dfdcb45f829cf05c37bf

See more details on using hashes here.

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