Python-Tools / sanic-mongo

sanic的mongodb异步工具
Apache License 2.0
14 stars 9 forks source link

Sanic.log hasn't log anymore #2

Open Garito opened 6 years ago

Garito commented 6 years ago

They have changed it to logger so your extension make our apps crash if we update to version 0.7 of sanic

Would be nice if you could update your code, please

Thank you

Garito commented 6 years ago

Basically you must change the line 15 of mongo.py and line 17 of gridfs.py from from sanic.log import log to something along from sanic.log import logger as log and the code works