Skip to content
This repository was archived by the owner on Feb 18, 2024. It is now read-only.

Releases: Colin-b/layab

2.2.0 (2020-10-09)

09 Oct 13:29
525826b

Choose a tag to compare

Added

  • flask_restx request logging now log processing_time in case of failure as well.
  • Explicit support for python 3.9

Changed

  • Only store one request id per query.
  • flask_restx request logging now log request details as a dictionary linked to request key.
  • flask_restx request logging now log request arguments as a dictionary linked to request.args key.
  • flask_restx request logging now log request headers as a dictionary linked to request.headers key.
  • flask_restx request logging now log request error as a dictionary linked to error key.
  • flask_restx request logging now log status as end instead of success as it might be misleading if app is sending failure response.

Fixed

  • flask_restx request logging do not log request data in case of exception anymore as it might be too big or bytes could not be supported by the logger.
  • flask_restx request logging now log all params as a list of values, only the first value for each param was logged previously.

2.1.0 (2020-09-30)

30 Sep 16:18
fefb2bf

Choose a tag to compare

Added

  • Add support for flask-restx framework.

Changed

  • Update black version from master to 20.8b1.

1.6.0 (2020-01-15)

15 Jan 17:42
84cc117

Choose a tag to compare

Added

  • Log request upon receipt.
  • Add request_status to logging to know what a log is for.
  • Add request_status_code to logging to know the actual HTTP status code sent as response.
  • Avoid duplicated logging when used as a decorator.

1.5.0 (2019-12-03)

03 Dec 14:35
cea67e0

Choose a tag to compare

Added

  • Allow to load unsafe logging configuration files, see PyYAML documentation for more information on unsafe YAML loading.

1.4.0 (2019-11-29)

29 Nov 18:48
c6984cc

Choose a tag to compare

Added

  • Initial release.