Skip to main content

Internal structured logging utility for ECL microservices

Project description

Structured Logging Utilities for ECL microservices

Python Version License

Internal package for consistent structured logging across ECL microservices. Features JSON formatting, automatic metadata capture, and environment-based configuration.

Features

  • 📝 Structured JSON logs with consistent schema
  • 🕒 Automatic timestamping in ISO 8601 format
  • 📍 Complete source location (file path, line number, module, function)
  • 🔍 Query-ready fields (transaction_id, request_ip, service_name)
  • ⚙️ Environment-controlled log levels
  • 🔗 Request context propagation across services
  • 🛡 Private package for internal use only

Environment Variables

  • LOG_LEVEL: Set the log level, default: INFO
  • APP_VERSION: Denotes the app version which will be displayed in the log, default: AMBIVALENT_APP_VERSION
  • SERVICE_NAME: Denotes the service name which will be displayed in the log, default: AMBIVALENT_SERVICE_NAME

Installation

pip install ecl-logging-utility

Version History

See CHANGELOG.md for release notes.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ecl_logging_utility-1.0.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ecl_logging_utility-1.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file ecl_logging_utility-1.0.1.tar.gz.

File metadata

  • Download URL: ecl_logging_utility-1.0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for ecl_logging_utility-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a16da08dd8e3301caeec5d8621c9fa30ad9a05f1ceaecca77e96746eea057fb3
MD5 9cacf21aa62ec9430332224189e15316
BLAKE2b-256 78224d9854ba5c1f9447f7e64b10726b68bac92346668e2cbb2cca13a6e5ecbb

See more details on using hashes here.

File details

Details for the file ecl_logging_utility-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ecl_logging_utility-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 af52fb2face31e5f4cc35817c7f8cdf827ef5cd63a43288c0fcb7a6090a30d33
MD5 35adea37b53cc4a2be452ae3c55bfd61
BLAKE2b-256 c905c62e867a1d9a43494db77e7581e35320c24c6de424c7d4c210d4f0987f1b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page