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

enhance debug logging for return status / content-type with component of url #47

Closed
ryran opened this Issue Nov 21, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@ryran
Owner

ryran commented Nov 21, 2016

New way makes it more clear what url the return status & content-type are for, i.e.:

[INFO   ] rhsda: Getting https://access.redhat.com/labs/securitydataapi/cve/CVE-2015-3253.json
[INFO   ] rhsda: Getting https://access.redhat.com/labs/securitydataapi/cve/CVE-2015-7501.json
[INFO   ] rhsda: Getting https://access.redhat.com/labs/securitydataapi/cve/CVE-2016-1950.json
[INFO   ] rhsda: Getting https://access.redhat.com/labs/securitydataapi/cve/CVE-2016-2107.json
[INFO   ] rhsda: Getting https://access.redhat.com/labs/securitydataapi/cve/CVE-2016-3473.json
[INFO   ] rhsda: Getting https://access.redhat.com/labs/securitydataapi/cve/CVE-2016-3505.json
[INFO   ] rhsda: Getting https://access.redhat.com/labs/securitydataapi/cve/CVE-2016-3551.json
[INFO   ] rhsda: Getting https://access.redhat.com/labs/securitydataapi/cve/CVE-2016-5488.json
[DEBUG  ] rhsda: Return '.../CVE-2015-3253.json': Status 200, Content-Type application/json
[DEBUG  ] rhsda: Return '.../CVE-2015-7501.json': Status 200, Content-Type application/json
[INFO   ] rhsda: Getting https://access.redhat.com/labs/securitydataapi/cve/CVE-2016-5495.json
[DEBUG  ] rhsda: Return '.../CVE-2016-1950.json': Status 200, Content-Type application/json
[INFO   ] rhsda: Getting https://access.redhat.com/labs/securitydataapi/cve/CVE-2016-5500.json
[DEBUG  ] rhsda: Return '.../CVE-2016-2107.json': Status 200, Content-Type application/json
[INFO   ] rhsda: Getting https://access.redhat.com/labs/securitydataapi/cve/CVE-2016-5506.json
[INFO   ] rhsda: Getting https://access.redhat.com/labs/securitydataapi/cve/CVE-2016-5511.json
[DEBUG  ] rhsda: Return '.../CVE-2016-3551.json': Status 404, Content-Type text/html

@ryran ryran added the enhancement label Nov 21, 2016

@ryran ryran self-assigned this Nov 21, 2016

ryran added a commit that referenced this issue Nov 21, 2016

@ryran ryran closed this Nov 21, 2016

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