aws-logging-handlers
Logging aws_logging_handlers to AWS services that support S3 and Kinesis stream logging with multiple threads
What it is and what it does
aws-logging-handlers is a Python logging handler that routes log records directly to AWS services—specifically S3 and Kinesis—using multithreaded asynchronous uploads. It integrates with Python's standard logging module, allowing you to attach S3Handler or KinesisHandler instances to your logger and have records streamed to AWS in the background. For S3, it supports automatic log rotation based on size or time interval, with optional gzip compression.
The package is designed for applications that need centralized log aggregation in AWS without intermediate processing. It handles the threading and multipart upload mechanics internally. However, the project has been abandoned with last commit on 2022-05-03, and it declares no explicit runtime dependencies in its metadata despite requiring boto3, creating uncertainty about compatibility with current AWS SDK versions and modern Python runtimes.
Use it for:
- Stream application logs directly to S3 for long-term archival with automatic rotation and compression.
- Send real-time log events to Kinesis for downstream processing or analytics pipelines.
- Centralize logs from multithreaded Python applications to AWS without external log aggregation services.
- Rotate and archive logs to S3 based on size or time thresholds in background threads.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Routes Python logging records to AWS S3 and Kinesis using multithreaded handlers with optional gzip compression for S3.
No. The project is abandoned (last commit 2022-05-03), classifiers list only Python up to 3.7, and it declares no runtime dependencies despite requiring boto3—creating maintenance and compatibility risk. High install friction and lack of modern AWS SDK support make it unsuitable for new projects.
Install
aws-logging-handlers on PyPI
pip
pip install aws-logging-handlersuv
uv add aws-logging-handlerspoetry
poetry add aws-logging-handlersInstalling aws-logging-handlers
Before you install
High install friction due to no runtime dependencies declared in the package metadata, though boto3 is required per documentation. Project is abandoned with last commit on 2022-05-03 and no updates for 2083 days since release.
License in practice
Licensed under MIT (permissive), allowing use in most commercial and open-source contexts without significant restriction.
Quickstart
pip install aws-logging-handlers
import logging
from aws_logging_handlers.S3 import S3Handler
s3_handler = S3Handler("test_log", "my_bucket", workers=3)
logger = logging.getLogger('root')
logger.addHandler(s3_handler)
logger.info("message to s3")
boto3 must be installed separately; AWS credentials and permissions for S3 or Kinesis are required; multithreading support is assumed available.
Verify before relying
- Whether the package works with modern Python versions (classifiers list only up to 3.7; current support unknown)
- Whether boto3 is automatically installed as a dependency or must be manually added
- Whether the package is compatible with current AWS SDK versions
- Status of any known issues or breaking changes since the last 2020-11-30 release
Package facts
| License | not declared (permissive) |
| Python support | not specified |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | abandoned — 2,083 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 205,533/month — #9,588 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: aws-logging-handlers-2.0.5.tar.gz
Keywords: logging, s3, aws, handler, amazon, stream, kinesis, firehose
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
aws-cdk.aws-kinesisfirehose-alphaProvides AWS CDK constructs for defining Amazon…
permissive · top 15,000 on PyPI
aws-kinesis-aggAggregates and deaggregates Kinesis records…
permissive · top 15,000 on PyPI
aws-cdk.aws-kinesisDefines AWS Kinesis data streams as…
permissive · top 15,000 on PyPI
concurrent-log-handlerProvides thread-safe and process-safe logging…
permissive · top 5,000 on PyPI
cloudwatchA Python logging handler that sends log events…
permissive · top 15,000 on PyPI
python-logging-lokiA Python logging handler that sends log records…
permissive · top 5,000 on PyPI
multiprocessing-loggingProvides a logging handler that tunnels log…
copyleft · top 15,000 on PyPI
aws-cdk.aws-kinesisanalytics-flink-alphaProvides AWS CDK constructs for defining and…
permissive · top 15,000 on PyPI
aws-cdk.aws-kinesisfirehose-destinations-alphaProvides AWS CDK constructs for configuring…
permissive · top 15,000 on PyPI
gzip-streamWraps streams to compress data on-the-fly using…
permissive · top 15,000 on PyPI