Skip to main content

Interfaces with inbuilt python logger to send logs to combilog aggregator.

Project description


Python package containing custom log handler to integrate with CombiLog


$ pip install combilog-handler

Usage Guide

Example usage

import logging
import combilog_handler

# Points to the Websocket Server Url hosted in the Combilog Aggregator.

# Secret of the service registered in the Combilog Dashboard

logger = logging.Logger("NamedService")
handler = combilog_handler.loghandler.CombilogHandler(aggregator_url=url, service_secret=secret)
formatter = logging.Formatter("%(asctime)s - %(name)s - %(levelname)s - %(message)s")

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

combilog-handler-1.0.16.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

combilog_handler-1.0.16-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

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