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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for dkist-service-configuration-1.0.0rc2.tar.gz
Algorithm Hash digest
SHA256 c6a48caa94c6aea73a45dcf20b7c372185dce762ab2400ffa22757ddeaeb398b
MD5 da5c9bfb93f4b70b9f4ab412ab3b71bf
BLAKE2b-256 751bdafaf5de68ef76e2c10a31b87a500eac385765a3733dc06be9464b39ea44

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for dkist_service_configuration-1.0.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 123c71c7de715296f7cb265b2e347a01f64771cd34316554dbdfc1e521da75ab
MD5 c726b6a9576e98fee10944b7d6a8698c
BLAKE2b-256 a509b611824cd8ad67bb4b8fb95c229f5e8be3aaa40b59b51db6918a448be828

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