Print all boto debug and request response message from boto and httplib

0 votes
So I have boto on my system and no debug messages are printed. But I want all debug messages and also all the request/response messages from httplib boto to be printed. How do I do that?
Mar 26, 2019 in Ansible by Lina
710 views

1 answer to this question.

0 votes

Debug Controls the level of debug messages that will be printed by the boto library. The following values are defined:

0 - no debug messages are printed
1 - basic debug messages from boto are printed
2 - all boto debugging messages plus request/response messages from httplib
So if you wish to print all the messages, keep the debug value as 2.
answered Mar 26, 2019 by Raymond

Related Questions In Ansible

0 votes
1 answer
0 votes
2 answers

Ansible task to list all pods from any k8s namespace

Here is a more complete answer for ...READ MORE

answered Feb 6, 2020 in Ansible by scatat
2,422 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,289 views
+2 votes
1 answer
0 votes
1 answer

print basic boto debug message

Debug Controls the level of debug messages ...READ MORE

answered Mar 26, 2019 in Ansible by Raymond
154 views
0 votes
1 answer

No debug messages from boto to be printed

Debug Controls the level of debug messages ...READ MORE

answered Mar 26, 2019 in Ansible by Raymond
118 views