[yt-users] Inconsistent yt logging in IPython console vs notebook

B.W. Keller kellerbw at mcmaster.ca
Wed Dec 10 16:28:22 PST 2014


I have also seen this behaviour, and not just with yt.  I think that
ipython notebook is not playing nicely with the python logging module.

On Wed, Dec 10, 2014 at 7:25 PM, John ZuHone <jzuhone at gmail.com> wrote:

> Hi all,
>
> Have any of the rest of you seen this?
>
> The default IPython logger has a specific format, which only logs warnings
> and up. The yt logger has a different format, and logs info and up. For
> some reason, in the IPython console, the correct logging  behavior for yt
> occurs, but not in the notebook. See the following images:
>
> http://i.imgur.com/l3klTE3.png
> http://i.imgur.com/MIZ1oKK.png
>
> Basically, the yt logging behavior is not picked up in the notebook, so it
> uses the default notebook logging behavior.
>
> I’ve seen this on a number of platforms and can’t figure out how this
> happens. It’s not a big deal, but it’s annoying. Anyone care to venture
> what is going on?
>
> John
>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20141210/098a84fb/attachment.htm>
-------------- next part --------------
_______________________________________________
yt-users mailing list
yt-users at lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org


More information about the yt-users mailing list