NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI
PyPI, #995 most downloaded on PyPI
Python CloudWatch Logging
Latest stable
3.4.0
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 1 weeks to 1.1 years
Most releases are documented
notes for 32 of 42 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
42 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
Format message placeholders when using add_log_record_attrs
Format message placeholders when using add_log_record_attrs (#184)
Remove ":" in program_name of stream name (#207)
Add note about strftime format string being required
Fix type errors introduced in #201 (required to restore compatibility with Python 3.8)
Fix type errors introduced in #201 (required to restore compatibility with Python 3.8)
- Support log group tagging
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Use timeout when waiting for queues to empty at shutdown
Replace deprecated function datatime.utcnow()
Avoid crashing flush() when CreateLogStream API call is throttled (#192)
Truncate messages based on bytes, not unicode characters
Truncate messages based on bytes, not unicode characters (#181)
Use repr to represent all JSON fields of unknown types by default. Previously, when passing a mapping (dictionary) as a log message, watchtower would
null. The new behavior is to
use the output of repr() to represent these non-JSON-serializable
objects. This change may cause your logger to log more data than you
intended, which is why it triggers a major version bump. If you use
watchtower to log sensitive information or objects with large repr
strings, you are advised to examine your log messages to see if any
newly visible data should be sanitized. If you need to customize
this behavior, you can pass a custom JSON default serializer using
the json_serialize_default keyword argument.Use correct default log stream name
Deconflict log streams from process pools in default log stream name
Deconflict log streams from process pools in default log stream name
Update empty message filtering to catch formatted string case
Remove the Django customization, which was deprecated and unneeded. Django can use watchtower directly via its logging configuration as documented in…
Rename log_group to log_group_name for consistency with the Boto3 API
Rename stream_name to log_stream_name for consistency with the Boto3 API
Introduce the ability to pass a Boto3 logs client and remove the ability to pass Boto3 sessions
Document the ability to pass a Boto3 configuration profile name for declarative configs
Remove the Django customization, which was deprecated and unneeded. Django can use watchtower directly via its logging configuration as documented in the readme
Introduce configurable log formatters. Special thanks to @terencehonles for starting this work (#117, #138)
Use logging.Handler.handleError to correctly handle errors while processing log records (#149)
Move stream name determining logic to separate method (#148)
Reset internal state on fork to prevent deadlocks in worker threads (#139)
Drop Python 3.5 support
Expand documentation
Update test and release infrastructure
Catch OperationAbortedException in _idempotent_create. Fixes #136
Don't crash if nextSequenceToken is missing. Fixes #134
Protect against message storms from sending botocore debug logs
Apply filter to self instead of forcing log level on shutdown
Force botocore logging level to be INFO or higher on shutdown
Force botocore logging level to be INFO or higher on shutdown
Add fix/tests for log stream re-creation regression
Drop compatibility for Python 2
Fix sequence token cache (#116)
Drop compatibility for Python 2 (#109)
Fix message truncation for messages above AWS limit (#112)
Allow custom endpoint url (#114)
Package API is stable
Test and package infrastructure improvements
Create log streams lazily (#97)
- Bug fix on log group retention
Fix another Homebrew-related release failure
Fix another Homebrew-related release failure
Set creating_log_stream to False when creation fails.
Set creating_log_stream to False when creation fails. (#72)
Define all instance attributes before attempting to create boto session (#76)
Serialize objects with datetimes, and allow custom serializer default functions to be used (#73)
Add 'strftime' parameter to stream_name formatter
Add 'strftime' parameter to stream_name formatter (#71)
Short-circuit emit if still initializing
Fix close twice hang forever bug
Fix broken formatting in README
Fix broken formatting in README
Fix JSON message serialization, part 2
Fix JSON message serialization, part 2
Fix JSON message serialization
Fix JSON message serialization
Warn instead of crashing logger on delivery failure
Warn instead of crashing logger on delivery failure
Support for django log (#39)
Fix for unhashble type error (fixes issue #44) (#45)
Enhancement: boto3 auth profile option
Do not shut down on flush()
Enhancement: boto3 auth profile option (#41)
Documentation improvements
Add test-requirements.txt to manifest. Fixes #37
Nothing published for this version
- Release script fix
Release script fix
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.