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
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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file logtron-aws-0.1.5.tar.gz
.
File metadata
- Download URL: logtron-aws-0.1.5.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.8.0 Linux/4.15.0-1077-gcp
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c435952ff25ff913b85ff63a578d6b81ceb7e6a5093ef5d4694539b9b400660b |
|
MD5 | ba3e0aef065482fee544f58806bd3f77 |
|
BLAKE2b-256 | 4ae6e672ae42442039325327c32b040552d75411ddc71606d9acd77db8360814 |
File details
Details for the file logtron_aws-0.1.5-py2.py3-none-any.whl
.
File metadata
- Download URL: logtron_aws-0.1.5-py2.py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.8.0 Linux/4.15.0-1077-gcp
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 807346b1431ea957ba03c44e07e279432e682d686afb0f41665b53cc7e0f7eff |
|
MD5 | 81b7185ac783a4dea56d71fc18ada933 |
|
BLAKE2b-256 | 93f271bb6a2eb5268ba89f3bf9b97a6944935d28e3302bf528739a1a5f179326 |