Skip to content

Instantly share code, notes, and snippets.

View jeffreymelvin-wf's full-sized avatar

Jeffrey Melvin jeffreymelvin-wf

  • Workiva
View GitHub Profile
@schlamar
schlamar / example.py
Last active February 13, 2022 18:15
mplog: Python advanced multiprocessing logging.
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')