[IPython-dev] Using --debug to trace kernel messages
Matthias BUSSONNIER
bussonniermatthias at gmail.com
Fri Jan 24 12:15:45 EST 2014
Le 24 janv. 2014 à 17:44, Konrad Hinsen a écrit :
> I am trying to explore communication between the notebook and the kernel
> by passing the --debug flag to IPython. With the default configuration,
> this works fine.
>
> However, as soon as I change KernelManager.kernel_cmd in the
> configuration (e.g. in ipython_config.py), all the debug messages
> related to the kernel disappear. This happens even if I set kernel_cmd
> to the exact same value that it has by default.
>
> Is this a bug or a feature? In the latter case, is there a way
> to get debug messages back?
You can open an issue on github.
--debug is equivalent to
--log-level=DEBUG
cf
--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.
which itself is equivalent to
--Application.log_level=DEBUG
you can also set it independently with
--NotebookApp.log_level=<Enum>
--IPKernelApp.log_level=<Enum>
(or c. instead of -- in config file)
Maybe one of those work while we investigate.
--
M
>
> Thanks in advance,
> Konrad.
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
More information about the IPython-dev
mailing list