Releases: Msameim181/Python-Logging-Best-Practice
Releases · Msameim181/Python-Logging-Best-Practice
v0.2.12
What's Changed
- Refactor/Update Formatters Config by @Msameim181 in #8
Full Changelog: v0.2.9...v0.2.12
v0.2.11
What's Changed
- Feature: Uvicorn customized logger by @Msameim181 in #1
- chore: update GitHub Actions workflow to use 'development' branch and… by @Msameim181 in #3
- Refactor/update GitHub action by @Msameim181 in #5
- Refactor/update GitHub action by @Msameim181 in #6
- ci: add write permissions for contents in build workflow by @Msameim181 in #7
- Refactor/Update Formatters Config by @Msameim181 in #8
- V0.1.9 to v0.2.11 by @Msameim181 in #9
New Features
- Support for process IDs in logging.
- Uvicorn integration for logging configuration.
Refactors
- Replaced
ColoredFormatter
withBasicFormatter
and enhanced logging message formatting. - Streamlined
LoggingConfig
andSysLogFormatter
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
- update get_trace_id and improve it.
Full Changelog: v0.1.8...v0.1.9
v0.1.8
- remove django from pyproject
Full Changelog: v0.1.7...v0.1.8
v0.1.7
- 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
- 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
- Add
get_trace_id
function to fetch thetrace_id
anywhere you like to pass it to another service.
Full Changelog: v0.1.4...v0.1.5
v0.1.4
- Fix a minor issue
Full Changelog: v0.1.3...v0.1.4
v0.1.3
- Update Documentation.
- Enhance file Path and make parents directory if not exist.
- Use
tracer
instead oftrace
Full Changelog: v0.1.2...v0.1.3
v0.1.2
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.