Skip to main content

Configuration support for DKIST services

Project description

A configuration for the loguru (https://github.com/Delgan/loguru) logger.

It is important that it be the first import to run so the standard logging basicConfig method has an effect.

Features

  • Stderr output

  • intercepted logging from client libraries

  • Disabled better exceptions for log levels above debug to mitigate secret leaking

  • Configuration retriever which safely logs retrieved values

Installation

pip install logging42

Examples

main.py

from logging42 import logger

logger.debug('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

dkist-service-configuration-1.0.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file dkist-service-configuration-1.0.0.tar.gz.

File metadata

File hashes

Hashes for dkist-service-configuration-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1f5fc2ce3ba6c44e4184adf9e35c1d9b773e20f1e2568f991a65bbb580198005
MD5 51e67474a7ad70930b1e64e412519381
BLAKE2b-256 3c616b7ae958f003e136da97f8f7d0ccc11c58c524fca0c266d81a9de061fe8f

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for dkist_service_configuration-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16f94207b11b3d2a30ef3add4d8af6fa32ff388d172565ad53e2b0c2a3168928
MD5 2d6f24986e146759b2bfa9090499ce95
BLAKE2b-256 48cf0e94d73fa42dea6bb015be315b5e822a807733372072509dba0167c77647

See more details on using hashes here.

Provenance

Supported by

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