Skip to content

Instantly share code, notes, and snippets.

@diogommartins
Created October 29, 2018 01:32
Show Gist options
  • Select an option

  • Save diogommartins/d283b53f3bcc274c5cb500b4c63e00ec to your computer and use it in GitHub Desktop.

Select an option

Save diogommartins/d283b53f3bcc274c5cb500b4c63e00ec to your computer and use it in GitHub Desktop.
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