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.0rc1.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for dkist-service-configuration-1.0.0rc1.tar.gz
Algorithm Hash digest
SHA256 8b04802e519161eb0ecb3a0e55d1c5e9dc035e479cbfb4a689f69b3f2f1ae67b
MD5 7def611cbafe4bb299eb2796c13c446e
BLAKE2b-256 197253e1b85cfcfbf6a11165d76d9fe204771258ce70b5be8b31aea0735068a2

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for dkist_service_configuration-1.0.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 92044b2b40cdb930c15728ad2fc1804158ad7fbf65c0d987098e62653094b777
MD5 2872948f29b5d6451e37a4e93a98cfb3
BLAKE2b-256 9d42a249593fb9bad647f4f0b8aeed132a40960dc326c75fe9c9a88d3f795abc

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