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 pure logging for HTTP/S requests #22

Open
operatorequals opened this issue Sep 25, 2019 · 1 comment
Open

Add pure logging for HTTP/S requests #22

operatorequals opened this issue Sep 25, 2019 · 1 comment

Comments

@operatorequals
Copy link
Owner

This is quite self explanatory.
It is quite useful to have a log of all the requests made by this module, maybe by a different logger than the httpimport one:

req_logger = logging.getLogger("httpimport.requests")

so it can have all kinds of controls like, log to file, colors, etc.

When debugging, or when working with network issues this could be a useful tool.

@john681611
Copy link

So far the lack of feedback or throwing of an error when a network call is rejected is far from ideal

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

2 participants