[yt-users] supressing output
chris.m.malone at gmail.com
chris.m.malone at gmail.com
Thu Mar 3 11:13:27 PST 2011
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20110303/6bbd1be4/attachment.html>
More information about the yt-users
mailing list