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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file common_logging-0.0.0.tar.gz
.
File metadata
- Download URL: common_logging-0.0.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b7084f6b05f39d901bc8929c5f35ba3f367dc68f1db82dc97f64f24ee12e135 |
|
MD5 | 6cc2bd0b36a076219ce9515fdf3f2950 |
|
BLAKE2b-256 | 5191e9f491b0514b80bf0fac243221b1ef052ef3851f5759586085f27914eaa7 |
File details
Details for the file common_logging-0.0.0-py3-none-any.whl
.
File metadata
- Download URL: common_logging-0.0.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42b7aee008f82f424b949abd7034dc094ab193ebb54849f4441fe1dbb1f03df4 |
|
MD5 | 3a9ad591371c16fc04903021c7fcbffe |
|
BLAKE2b-256 | 5fa424f38a85a23685145b87252b05f7a18a4c07129fde5d4add08f1345f4cf8 |