Skip to main content

Handler to mask data and optimized the log volume

Project description

Package pii_optimized_logger

Configuration:

log_disable_handler value 0 is the default value and the handler is enable value 1 will disable the handler

log_max_length

default value is 500 it is used to define the max length for each message to print in log

Sample to use the library

import logging from pii_optimized_logger import log_handler

logger = logging.getLogger() logger.setLevel(logging.DEBUG)

logger.handlers = log_handler.create()

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

pii_optimized_logger-0.0.8.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pii_optimized_logger-0.0.8-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file pii_optimized_logger-0.0.8.tar.gz.

File metadata

  • Download URL: pii_optimized_logger-0.0.8.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for pii_optimized_logger-0.0.8.tar.gz
Algorithm Hash digest
SHA256 8c4ce5b5ce84627a3082b5b87f009469779c338a49011951e18bb3fc6740dcc9
MD5 707e8992013451e70df6caebebbcb344
BLAKE2b-256 6c0038134c32144f0c9282c3e79a41d981e94d502bf0db4c3cfc11aec04f0e14

See more details on using hashes here.

File details

Details for the file pii_optimized_logger-0.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for pii_optimized_logger-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 ec05e81335834e36a2d48dde95dac2fd4c3ad398547b25dde072434b56daac46
MD5 20b698e72398901e318f59dc3d0b9dcd
BLAKE2b-256 9b32cef86d08e439541b286ac768fcce58df8bd3b1b618696ef18f9e0f65ba5f

See more details on using hashes here.

Supported by

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