Skip to main content

AWS CloudWatch logging and context auto-discovery for logtron

Project description

Logtron-AWS

Logtron-AWS is a set of AWS-targeted extensions for the Logtron library.

import logtron_aws
logger = logtron_aws.autodiscover()
logger.info("hello world")

Or

import logtron_aws
logtron_aws.autodiscover() # Only needs to run once somewhere to configure the root logger

import logging
logger = logging.getLogger()
logger.info("hello world")

Logtron-AWS provides a set of extensions for the Logtron library to enable features such as:

  • Automated log context discovery using AWS STS
  • Log handler for logging directly to CloudWatch Logs

Downloads Supported Versions Contributors Build Status codecov

Installing Logtron-AWS and Supported Versions

Logtron-AWS is available on PyPI:

$ python -m pip install logtron-aws

Logtron-AWS officially supports Python 2.7 & 3.5+.

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

logtron-aws-0.1.5.tar.gz (7.3 kB view hashes)

Uploaded Source

Built Distribution

logtron_aws-0.1.5-py2.py3-none-any.whl (7.8 kB view hashes)

Uploaded Python 2 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