Skip to main content

Distributed logging system with ingestion + CLI

Project description

pylogger-ocg

Distributed Python logger with:

  • JSON logging
  • Rotation
  • Multi-service ingestion
  • CLI log server

Install

pip install pylogger-ocg

Run Server

pylogger-server

Use Logger

from pylogger import get_logger

logger = get_logger(
    ingest_url="http://localhost:8000/ingest",
    service_name="service-A"
)

logger.info("Hello world")

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

pylogger_ocg-1.0.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

pylogger_ocg-1.0.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file pylogger_ocg-1.0.0.tar.gz.

File metadata

  • Download URL: pylogger_ocg-1.0.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for pylogger_ocg-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c77b53ed7d1b866a6469f7a4641fdad1b9709ae8b42e5aab17769e248a90af90
MD5 a4c1cec21a401d0f585a489a9fe520b0
BLAKE2b-256 9464469f6764386abf2893088ef4b5b937a3456d8283fdb437e1afe4954f5df2

See more details on using hashes here.

File details

Details for the file pylogger_ocg-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pylogger_ocg-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for pylogger_ocg-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e26fb549d7d0f4828c8fe85360dc2e2fe66a30d536827f3de0ef6c8ff20b0e5f
MD5 2fb3768cbc0b3921984edefe5a6d5f32
BLAKE2b-256 72412803b85bb2a122684dc4d27bb29832415476640887a7981d260bf67239b0

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