On Sep 13, 2011, at 4:11 AM, Justin Clift wrote:
On 09/09/2011, at 11:17 PM, Michal Fojtik wrote:
> 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.
<snip>
> 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)
<snip>
Haven't yet tried this out. Does it need *both* the API_VERBOSE +
the "-V" on the command line, or either one?
Using just one is enough.
This option should also be added to the deltacloud-core init script
and it's config file. Just checked in server/support/fedora in git
head and didn't see it. ;)
I think you could add 'API_VERBOSE=1' to /etc/sysconfig/deltacloud-core file and
the daemon
should pick it up.
You ok to add?
Sure, no problem to add it into default config file.
-- Michal
------------------------------------------------------
Michal Fojtik, mfojtik(a)redhat.com
Deltacloud API:
http://deltacloud.org