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

Use logging.warning instead of logging.warn #233

Closed
Vaibhav opened this issue Oct 7, 2018 · 0 comments
Closed

Use logging.warning instead of logging.warn #233

Vaibhav opened this issue Oct 7, 2018 · 0 comments

Comments

@Vaibhav
Copy link
Contributor

Vaibhav commented Oct 7, 2018

I am getting the following deprecation warning:

DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead LOG.warn("Unknown option passed to Flask-CORS: %s", key)

Look here for more info.

@Vaibhav Vaibhav changed the title Use Log.warning instead of Log.warn Use logging.warning instead of logging.warn Oct 7, 2018
@Vaibhav Vaibhav closed this as completed Oct 10, 2018
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