[yt-dev] Kill logging in the notebook?

Christopher Moody chrisemoody at gmail.com
Mon May 20 16:07:27 PDT 2013


-1
I actually totally disagree. I really like and use the yt logging
extensively inside iPython notebook. My workflow is biased towards a lot of
frontend-heavy stuff, and it's useful to know when any of that is wonky
enough to be logged, but not throw errors. Besides, you can just double
click on the side bar to hide a cell's output -- although I can see how
that's not helpful if you're plotting.

I'd compromise if we can set a separate logging level for the notebook.
Then I can change the default for myself. Probably also not hard to do?

chris


On Mon, May 20, 2013 at 3:56 PM, Casey W. Stark <caseywstark at gmail.com>wrote:

> I agree, +1.
>
>
> On Mon, May 20, 2013 at 3:49 PM, Nathan Goldbaum <nathan12343 at gmail.com>wrote:
>
>> Hi all,
>>
>> I have a quick request for feedback about a change to the way yt.imods
>> works.
>>
>> I'm of the opinion that the logging, while useful and nice when calling
>> yt from a script or an IPython prompt, makes for a bad UI experience from
>> inside the notebook.  The logs are sent to stderr, so they show up in the
>> notebook output in a scary looking red box.  Worse, vertical space is at a
>> premium on the widescreen displays that most of us use, and the logging
>> output tends to push the results we actually want to see off the bottom of
>> the display.
>>
>> Fortunately there is an easy fix for this: disable stream logging when
>> running yt from the notebook.  I think this is doable with a one or two
>> line change to yt.imods.
>>
>> I'm curious if other people agree with me on this - +/- 1?
>>
>> -Nathan
>> _______________________________________________
>> yt-dev mailing list
>> yt-dev at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>>
>
>
> _______________________________________________
> yt-dev mailing list
> yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20130520/acca7a92/attachment.html>


More information about the yt-dev mailing list