Hi,

Just FYI, Deltacloud API from version 1315573802git (current nightly build) 
supports 'verbose' mode,
which you can use to report errors or see what parameters are picked up by API 
on request and other
useful informations.
This could be extra useful for debugging and also reporting errors to us.

Other handy tool that comes along with this patch is that you can place custom 
debugging messages
everywhere in the code like:

    def instances(credentials, opts=nil)
      cloud = new_client(credentials)
      info cloud
      …
      warn "Oops, something is wrong..."
    end

In log you should then see the original file from where this message comes, 
line in this source file
and original caller method that throws this message.

I hope this will help us be more flexible in debugging Deltacloud API code.
In order to enable it you can do following:

1. export API_VERBOSE=1
2. ./bin/deltacloudd -V -i mock (-V == verbose mode)

 -- Michal

------------------------------------------------------
Michal Fojtik, [email protected]
Deltacloud API: http://deltacloud.org

Reply via email to