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 50000 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.6.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.6-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pii_optimized_logger-0.0.6.tar.gz
Algorithm Hash digest
SHA256 40302c49f9b40e7e9f66481e994d887de930a47a9886391cbbccc82c13b6fd29
MD5 dcf8ad199f4e390379f4358fecb2193a
BLAKE2b-256 f3231592f5cd4a2ddedd7ea3754a461782b7781c97a24abe797ec493f9ab767d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pii_optimized_logger-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ce197db51367780e8e21cf6d95d345dea4ad8894e6d64b05ae94b86346c5aef9
MD5 56f83aee8f11999aba565aa8a15fefb3
BLAKE2b-256 29ffd054e6cdcce4f7095eb862f2a84324a6a4c5d4be8fe9cb8b26fdcebdbf84

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