Skip to content

Releases: kislyuk/watchtower

v3.4.0: - Format message placeholders when using add_log_record_attrs (#184)

25 Feb 15:06
Compare
Choose a tag to compare
  • 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

v3.3.1

21 Aug 05:22
Compare
Choose a tag to compare
  • Fix type errors introduced in #201 (required to restore compatibility with Python 3.8)

    • Test infrastructure improvements

v3.3.0

19 Aug 17:22
Compare
Choose a tag to compare
  • Support log group tagging (#201)

v3.2.0

20 Apr 02:46
Compare
Choose a tag to compare
  • Use timeout when waiting for queues to empty at shutdown

v3.1.0

10 Mar 22:26
Compare
Choose a tag to compare
  • Avoid crashing flush() when CreateLogStream API call is throttled (#192)

    • Replace deprecated function datatime.utcnow() (#196)

v3.0.1

29 Jan 15:33
Compare
Choose a tag to compare
  • Truncate messages based on bytes, not unicode characters (#181)

v3.0.0

27 Jan 00:10
v3.0.0
92d874e
Compare
Choose a tag to compare
  • Use repr to represent all JSON fields of unknown types by
    default. Previously, when passing a mapping (dictionary) as a log
    message, watchtower would replace datetime objects with their
    ".isoformat()" string representation, and would replace all other
    non-JSON-serializable objects with 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.

v2.1.1

07 Jan 21:22
v2.1.1
2eae3e5
Compare
Choose a tag to compare
  • Use correct default log stream name

v2.1.0

07 Jan 20:58
v2.1.0
928305b
Compare
Choose a tag to compare
  • Deconflict log streams from process pools in default log stream name

    • Documentation and CI improvements

v2.0.1

29 Nov 17:50
v2.0.1
0145e74
Compare
Choose a tag to compare
  • Update empty message filtering to catch formatted string case (#162)