logger.info / logger.error with logger.addHandler - how to split streams?

Alec Taylor alec.taylor6 at gmail.com
Mon Dec 26 02:05:34 EST 2016


So I'm putting .info in one StringIO and .error in another StringIO.

How do I stop them from both being put into both?

Code: http://ideone.com/Nj6Asz


More information about the Python-list mailing list