[SciPy-User] Is there existing code to log-with-bells-on for runtime algorithm diagnostics?

Robert Kern robert.kern at gmail.com
Tue Apr 21 16:22:34 EDT 2015


On Tue, Apr 21, 2015 at 8:02 PM, Rob Clewley <rob.clewley at gmail.com> wrote:
>
> Hi,
>
> I'm in need of a system for logging the step-wise results and
> diagnostic metadata about a python function implementation of an
> algorithm that I'm developing. The specific algorithm is not of great
> consequence except that it's for scientific computing and may produce
> large (e.g., '00s or maybe '000s, but not "big data" scale) amounts of
> intermediate numerical data that can be complex to understand when
> debugging its progress.
>
> In fact, I'm trying to build a general purpose tool for exploring the
> inner workings of numerical algorithms for teaching and learning
> purposes, e.g. for graduate student training or for figuring out
> parameter choices in difficult applications.

The term you want to search for is "structured logging".

http://www.structlog.org/en/stable/
http://eliot.readthedocs.org/en/stable/
https://twiggy.readthedocs.org/en/latest/logging.html#structured-logging
http://netlogger.lbl.gov/

--
Robert Kern
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150421/0fcb2daa/attachment.html>


More information about the Python-list mailing list