On Tue, Jan 5, 2010 at 8:55 AM, Ian Bicking <[email protected]> wrote: > There's not really a command line that this could be added to, but if the > library looked for an environmental variable then you could enable debugging > in any context. E.g.: > > LIBCLOUD_DEBUG=t some-random-libcloud-using-tool ... >
done in r896276: http://svn.apache.org/viewvc?view=revision&revision=896276 Setting the environment LIBCLOUD_DEBUG=/path/to/file will log every HTTPS request as a curl command, and also log the entire response HTTP headers/body. libcloud.enable_debug(open('my.log', 'a')) also is available if you want to do it programmatically.
