woot!!!


On Fri, 2011-09-09 at 15:17 +0200, Michal Fojtik wrote:
> 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, mfoj...@redhat.com
> Deltacloud API: http://deltacloud.org
> 
> _______________________________________________
> aeolus-devel mailing list
> aeolus-de...@lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/aeolus-devel


Reply via email to