I have code like:
log = logging.getLogger(__file__)
def func():
print "1"
log.debug("Printed")
g = gevent.spawn(func)
g.join()
but when I started it, my log is not displayed in the shell. Any ideas? Is there a better way to log inside geout based coroutines?
source
share