[yt-dev] Issue #900: yt modifies logger, which clashes with astropy's logging system (yt_analysis/yt)

Adam Ginsburg issues-reply at bitbucket.org
Mon Sep 15 11:25:08 PDT 2014


New issue 900: yt modifies logger, which clashes with astropy's logging system
https://bitbucket.org/yt_analysis/yt/issue/900/yt-modifies-logger-which-clashes-with

Adam Ginsburg:

I'd like to be able to disable yt's modifications to logger.  An example:

```
In [1]: from astropy import log

In [2]: log.info('blah')
INFO: blah [unknown]

In [3]: import yt

In [4]: log.info('blah')
INFO: blah [unknown]
astropy: [INFO     ] 2014-09-15 20:22:46,643 blah
```

After importing yt, the logger message is duplicated.

(I'm not changing any of the defaults for the issue below, but this is pretty annoying at present)





More information about the yt-dev mailing list