Hello, I'm please to annouce the availability of bbrecorder module and its BlackBoxHandler logging handler for Python 3 (tested on 3.4).
This logging handler manage caching of last N log records in memory until they are needed — and then generate them using standard common Python logging handlers. It allows to enable a log level generating many log records, and only get last records when a crisis situation occur (typically in an exception handler). Note: in case of hard Python crash (core dump), cached logs are lost ! — see important note in doc. PyPI: https://pypi.python.org/pypi/bbrecorder/ Docs: http://bbrecorder.readthedocs.org/ Project: https://perso.limsi.fr/pointal/dev:bbrecorder A+ L.Pointal. -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/