I think that it's safe to use log.debug here without checking if it's enabled. 

We do checks for enabled in tight loops to safeguard against being IO-bound in a tight loop. logging, even if it's not enabled may cause gevent to switch contexts and it definitely has overhead.