Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sanic.log hasn't log anymore #2

Open
Garito opened this issue Dec 15, 2017 · 1 comment
Open

Sanic.log hasn't log anymore #2

Garito opened this issue Dec 15, 2017 · 1 comment

Comments

@Garito
Copy link
Contributor

Garito commented Dec 15, 2017

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
Copy link
Contributor Author

Garito commented Dec 15, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant