[IPython-dev] (no subject)

Matthias BUSSONNIER bussonniermatthias at gmail.com
Wed Nov 6 03:13:46 EST 2013

Le 6 nov. 2013 à 02:57, Eyal Dechter a écrit :

> Hi all, I have a question about logging. Is there a way to log all the messages sent from the frontends to the kernel?

run with --debug will print most of them to stout. I guess one can config a file-logger too.
Last resort, you can have your own proxy-kernel that act as a MITM and dump/inspect messages as the same time.

    set log level to logging.DEBUG (maximize logging output)
--log-level=<Enum> (Application.log_level)
    Default: 30
    Choices: (0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL')
    Set the log level by value or name.


More information about the IPython-dev mailing list