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

Add logging and logging levels so that we can see the actual API request/response #220

Open
freddy-craftsy opened this issue May 28, 2015 · 3 comments

Comments

@freddy-craftsy
Copy link

It would be really great if I could set a logging level when using this library that would log the API requests being made.

This way when I file a bug with developers.facebook.com, and they ask me for the API requests and response, I don't have to patch this library to output them.

Thanks!

@martey
Copy link
Member

martey commented Jun 28, 2015

If you (or someone else) wants to create a pull request for this, it would probably be accepted, but I don't think I will be able to work on this in the near future.

@seawolf42
Copy link
Contributor

+1. I would be happy to create a PR if this is still desired.

@webus
Copy link

webus commented Oct 17, 2018

simple solution

add this lines before you start working with library

import logging
logging.basicConfig(level=logging.DEBUG)

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

No branches or pull requests

4 participants