ethereum / eth-utils

Utility functions for working with ethereum related codebases.
https://eth-utils.readthedocs.io/en/latest/
MIT License
312 stars 150 forks source link

Fix pickling of ExtendedDebugLogger #199

Closed gsalgado closed 4 years ago

gsalgado commented 4 years ago

logging.Logger.__reduce__() returns (getLogger, name), which could give us a regular Logger instance after pickling/unpickling an ExtendedDebugLogger (e.g. when crossing process boundaries since the other process wouldn't have an ExtendedDebugLogger with that name in the logging module's cache).