An open API service indexing awesome lists of open source software.

https://github.com/utility-libraries/common-logging-py

python logging handler to fix the problem of your program having multiple instances and logging to the same file
https://github.com/utility-libraries/common-logging-py

Last synced: 5 months ago
JSON representation

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

Awesome Lists containing this project

README

          

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

planned is something along the lines of

```python
import logging
from commonlogging import CommonLoggingHandler

APPLICATION_PORT=12345

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