Skip to main content

python logging handler to fix the problem of your program having multiple instances and logging to the same file

Project description

common-logging

python logging handler to fix the problem of your program having multiple instances and logging to the same file

package name reservation

planned is something along the lines of

import logging
from commonlogging import CommonLoggingHandler

APPLICATION_PORT=12345

logging.basicConfig(
    handlers=[
        CommonLoggingHandler(port=12345, handler=logging.FileHandler("file.log"))
    ]
)

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

common_logging-0.0.0.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

common_logging-0.0.0-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

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