Skip to content

Instantly share code, notes, and snippets.

Avatar

John Maguire JohnMaguire

View GitHub Profile
@schlamar
schlamar / example.py
Last active Aug 14, 2020
mplog: Python advanced multiprocessing logging.
View example.py
import logging
import multiprocessing
import time
import mplog
FORMAT = '%(asctime)s - %(processName)s - %(levelname)s - %(message)s'
logging.basicConfig(level=logging.DEBUG, format=FORMAT)
existing_logger = logging.getLogger('x')
You can’t perform that action at this time.