[yt-users] supressing output

Matthew Turk matthewturk at gmail.com
Thu Mar 3 15:24:46 PST 2011


Hi Dave,

I think I've fixed it; it was an issue on my part, where I was trying
to automatically turn off colored logging for the parallel case.
Anyway, it's fixed in hash 29546a479f3e.

Best,

Matt

On Thu, Mar 3, 2011 at 2:13 PM,  <chris.m.malone at gmail.com> wrote:
> Hi Dave,
>
> You could try putting those ytcfg lines in your ~/.yt/config file under the
> [yt] section:
>
> [yt]
> suppressstreamlogging = True
> loglevel = 50
>
> If such a file doesn't exist, just create it. I'm not sure that this will
> fix the parallel issue, however.
>
> Chris
>
> On Mar 3, 2011 1:37pm, Dave Semeraro <semeraro at ncsa.illinois.edu> wrote:
>>
>>
>> I figured it out, sort of. I have to move the ytcfg commands to the
>> absolute top of my script. Setting loglevel to 50 stops everything but
>> warning messages. Also, setting suppressstreamlogging to True causes errors
>> in parallel. The code complains about not finding log handlers from all but
>> the root process. I would like to stop the warning messages as well if that
>> is possible. Jacking up the loglevel has no further effect.
>>
>>
>>
>> Dave
>>
>> ----- Original Message -----
>>
>> > Hello,
>>
>> >
>>
>> > I was wondering if there was a way to adjust the output level of YT.
>>
>> > At present I get a lot of INFO messages. I have tried adding the
>>
>> > following to the top of my scripts to no avail.
>>
>> >
>>
>> > from yt.config import ytcfg
>>
>> > ytcfg["yt]","suppressstreamlogging"]="True"
>>
>> > ytcfg["yt","loglevel"]="50"
>>
>> >
>>
>> > thanks
>>
>> > Dave
>>
>> > _______________________________________________
>>
>> > yt-users mailing list
>>
>> > yt-users at lists.spacepope.org
>>
>> > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>> _______________________________________________
>>
>> yt-users mailing list
>>
>> yt-users at lists.spacepope.org
>>
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
> _______________________________________________
> 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