[yt-dev] Issue #928: loglevel not honored when set at runtime in a script (yt_analysis/yt)

Chris Malone issues-reply at bitbucket.org
Mon Oct 20 13:22:49 PDT 2014


New issue 928: loglevel not honored when set at runtime in a script
https://bitbucket.org/yt_analysis/yt/issue/928/loglevel-not-honored-when-set-at-runtime

Chris Malone:

Running this

    from yt.config import ytcfg
    ytcfg['yt', 'loglevel'] = 1

    import yt
    ds = yt.load("GasSloshing/sloshing_nomag2_hdf5_plt_cnt_0150")
    slc = yt.SlicePlot(ds, 'z', 'density')

does not turn off logging as it should.  Note, however, that the `~/.yt/config` file is parsed properly.


_______________________________________________
yt-dev mailing list
yt-dev at lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org




More information about the yt-dev mailing list