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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for dkist-service-configuration-1.0.0rc4.tar.gz
Algorithm Hash digest
SHA256 be56220d1f23f2f6b68be36865eb1b7eaaa3ad60ca8e0f265b2ab748b22aa9fb
MD5 0c9f7365e8bca05aa77c6762d12b7de1
BLAKE2b-256 fdbefafb83b8266c1b6ac79ee3417236efe0e41e7a47956fcf3b76c35d8f79ce

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for dkist_service_configuration-1.0.0rc4-py3-none-any.whl
Algorithm Hash digest
SHA256 8287c5ea8e398f5949abc6aaffd8b8fbf8ed28d2d298a07a394bf7c99e7fb909
MD5 400b729a19c563384f6602a4b97a3862
BLAKE2b-256 c6df0fe1b40b22f9163c30bc6f86fb959d6be52350f25cd102ed7502ec0d37aa

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