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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for dkist-service-configuration-1.0.0rc3.tar.gz
Algorithm Hash digest
SHA256 c875808b8ce6581e5bad8cbd6ed384c89ed44fdcfe0a0d7d387f350d52bacafe
MD5 12a2a30b8a2e262d07740e4600c0b18e
BLAKE2b-256 fd8c9ceb1b438eed67b37aa8aa60f81b20adb9a9464f09c0e33e9a8925001cbd

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for dkist_service_configuration-1.0.0rc3-py3-none-any.whl
Algorithm Hash digest
SHA256 1add2c0473d0392e2086ad606b0b4b8a2a9974b629bfd4953a5d349e013e730c
MD5 a8ed11dd693622394af5e45749c87575
BLAKE2b-256 bceac707ef5b7b3c23482e30b4d41c7b39c7b0d22a2652da1dc2bfe5d18bae10

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