当Boto建立连接以执行get_all_instances或connect_to_region等操作时,有没有办法抑制'POST'消息到控制台? e.g。
myReservations = myConnection.get_all_instances(filters={'tag-key' : tagKey})
这会发出一条很大的POST消息:
发送:'POST / HTTP / 1.1 \ r \ nHost: ec2.us-west-1.amazonaws.com \ r \ nAccept编码: identity \ r \ nContent-Length:264 \ r \ nContent-Type: 应用程序/ x-WWW窗体-urlencoded;字符集= UTF-8 \ r \ n用户代理: 博托/ 2.0 (将linux2个)\ r \ n \ r \ nAWSAccessKeyId = ACCESS_KEY_VALUE&安培;动作= DescribeInstances&安培; Filter.1.Name =标签密钥&安培; Filter.1.Value.1 =阶段&安培;是SignatureMethod = HmacSHA256&安培; SignatureVersion = 2及时间戳= 2013- 01-03T23%3A46%3A40Z&安培;版本= 2011-01-01&安培;签名= BLAHBLAHBLAHBLAH
我不想看到这条消息。也不是回复,也不是标题信息。