Skip to main content

Send python logs to RocketChat server.

Project description


Send your Python logs to RocketChat.

Implements a custom handler for the Python logging module.

For a full working example see

Using Logging in multiple modules

Ensure there is a hierarchical structure in the logger name separated by dots. The name is set when calling logging.getLogger.

Usage example

import logging

from rocketloghandler.rocketloghandler import RocketLogHandler

formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
log = logging.getLogger(__name__)
log.warning("Never say no to the panda! Otherwise:")


Feel free to contribute to this project. A contribution guide is available. Please add yourself to the list of contributors when you submit the pull request.

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

rocketloghandler-0.1.1.tar.gz (1.9 kB view hashes)

Uploaded source

Built Distribution

rocketloghandler-0.1.1-py3-none-any.whl (3.2 kB view hashes)

Uploaded py3

Supported by

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