Skip to content

Releases: Colin-b/logging_json

0.6.0 (2025-02-04)

04 Feb 17:36
55f9140

Choose a tag to compare

Fixed

  • Using logging.exception outside an exception context will not prevent log from being formatted anymore.

Removed

  • Drop support for python 3.7.
  • Drop support for python 3.8.

Added

  • Explicit support for python 3.13.

0.5.0 (2024-01-17)

17 Jan 11:09
ccb6262

Choose a tag to compare

Added

  • Explicit support for python 3.12. Meaning taskName is now considered a reserved keyword where value is supposed to be contained in the record itself (otherwise value will be taskName for python < 3.12 when specified).
  • New parameters default_time_format (default to %Y-%m-%d %H:%M:%S) and default_msec_format (default to %s,%03d) allowing to change the formatting of asctime.
    • More details can be found in the documentation on what the impact is when changing those values.

Fixed

  • non-ASCII but valid UTF-8 values and field names will now be output as provided (they will not be escaped anymore).

0.4.0 (2023-01-09)

09 Jan 21:48
1ab0ce9

Choose a tag to compare

Changed

  • Default message key is now message instead of msg to stay in line with python default. If you still want previous behavior, set message_field_name to msg at formatter creation.

Removed

  • Drop support for python 3.6.

0.3.0 (2022-12-02)

02 Dec 22:40
abf957c

Choose a tag to compare

Added

  • Added exception_field_name parameter.

0.2.1 (2022-01-26)

26 Jan 13:04
9b8e05c

Choose a tag to compare

Fixed

  • datetime, time and date instances are now represented following ISO-8601 format instead of raising a TypeError.
  • Default to the str representation of value instead of raising a TypeError for non-standard python types.

0.2.0 (2021-11-24)

24 Nov 17:38
a3e71e0

Choose a tag to compare

Added

  • Added message_field_name parameter.

0.1.0 (2021-10-04)

04 Oct 15:36
4ceb548

Choose a tag to compare

Fixed

  • Handle extra logging parameter.

0.0.1 (2020-10-15)

15 Oct 14:42

Choose a tag to compare

Added

  • Public release.