Skip to content

Releases: Msameim181/Python-Logging-Best-Practice

v0.2.12

10 Mar 10:33
Compare
Choose a tag to compare
v0.2.12 Pre-release
Pre-release

What's Changed

Full Changelog: v0.2.9...v0.2.12

v0.2.11

13 Dec 18:34
488b4ec
Compare
Choose a tag to compare

What's Changed

New Features

  • Support for process IDs in logging.
  • Uvicorn integration for logging configuration.

Refactors

  • Replaced ColoredFormatter with BasicFormatter and enhanced logging message formatting.
  • Streamlined LoggingConfig and SysLogFormatter setup.
  • Improved trace ID handling in BasicFormatter.

Enhancements

  • Enabled NaN trace ignoring and process ID display in logging settings.
  • Updated the log file path and format in LoggingSettings.

Fixes

  • Sanitized trace ID format in the get_trace_id function.

Full Changelog: v0.1.9...v0.2.11

v0.1.9

10 Dec 10:08
Compare
Choose a tag to compare
  • update get_trace_id and improve it.

Full Changelog: v0.1.8...v0.1.9

v0.1.8

10 Dec 09:21
Compare
Choose a tag to compare
  • remove django from pyproject

Full Changelog: v0.1.7...v0.1.8

v0.1.7

06 Dec 14:50
Compare
Choose a tag to compare
  • Handle plain formats for console, SysLog, and File.
  • Improve tests for examples and the core itself.
  • Enhance logging settings.
  • Resolve some issues.

Full Changelog: v0.1.6...v0.1.7

v0.1.6

06 Dec 00:43
Compare
Choose a tag to compare
  • Add Socket Integration, along with examples for server-side and client-side.
  • Enhanced examples.
  • Add test, with Pytest and pipline.
  • Enhance Readme and dependencies.

Full Changelog: v0.1.5...v0.1.6

v0.1.5

30 Nov 18:37
Compare
Choose a tag to compare
  • Add get_trace_id function to fetch the trace_id anywhere you like to pass it to another service.

Full Changelog: v0.1.4...v0.1.5

v0.1.4

24 Nov 06:10
Compare
Choose a tag to compare
  • Fix a minor issue

Full Changelog: v0.1.3...v0.1.4

v0.1.3

22 Nov 11:17
Compare
Choose a tag to compare
  • Update Documentation.
  • Enhance file Path and make parents directory if not exist.
  • Use tracer instead of trace

Full Changelog: v0.1.2...v0.1.3

v0.1.2

22 Nov 09:37
Compare
Choose a tag to compare

This is the first release, contains:

  • Documentation improvement.
  • Example improvement.
  • Showcase using dependency injection and simple usage.
  • FastAPI integration with trancing Request using X-Request-ID.
  • Fixed some minor issues.