LoggerServer
An async TCP logging server base on tornado.ioloop, which serve for logging.handlers.SocketHandler.
Introduce
To solve Python separate processes logging to same file.
Official description:
Although logging is thread-safe, and logging to a single file from multiple threads in a single process is supported, logging to a single file from multiple processes is not supported, because there is no standard way to serialize access to a single file across multiple processes in Python. If you need to log to a single file from multiple processes, one way of doing this is to have all the processes log to a SocketHandler, and have a separate process which implements a socket server which reads from the socket and logs to file.
Reference: logging cookbook
LoggerServer use tornado build a high-performance TCP logging server to slove this problem.
Documentation
Metadata
Release files for logger_server 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| logger_server-1.0.5.tar.gz | 10.7 kB | Without provenance | Details for logger_server-1.0.5.tar.gz |
Release files / logger_server-1.0.5.tar.gz
| Download URL | logger_server-1.0.5.tar.gz |
|---|---|
| Size | 10.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d69de092b8838c77053141b49d980feb3f704ca53abfd7073a142fbe11b826b7
|
|
BLAKE2b-256 checksum How to use checksums |
8ec0c1cc59ea9ccb54953438d7a40c4ce119ad1713e768d84090d33d5fc3fcd9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for logger_server 1.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.