Created
October 29, 2018 01:32
-
-
Save diogommartins/d283b53f3bcc274c5cb500b4c63e00ec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import logging | |
from asyncio.log import logger | |
import os | |
logging.basicConfig(level=logging.DEBUG) | |
fileno = logger.manager.root.handlers[0].stream.fileno() | |
print(os.get_blocking(fileno)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment