This repository was archived by the owner on Feb 18, 2024. It is now read-only.
Releases: Colin-b/layab
Releases · Colin-b/layab
2.2.0 (2020-10-09)
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
endinstead ofsuccessas 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)
1.6.0 (2020-01-15)
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)
Added
- Allow to load unsafe logging configuration files, see PyYAML documentation for more information on unsafe YAML loading.
1.4.0 (2019-11-29)
Added
- Initial release.