Return-Path: X-Original-To: apmail-incubator-deltacloud-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-deltacloud-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 228B48C08 for ; Tue, 13 Sep 2011 08:27:41 +0000 (UTC) Received: (qmail 18947 invoked by uid 500); 13 Sep 2011 08:27:40 -0000 Delivered-To: apmail-incubator-deltacloud-dev-archive@incubator.apache.org Received: (qmail 18927 invoked by uid 500); 13 Sep 2011 08:27:40 -0000 Mailing-List: contact deltacloud-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: deltacloud-dev@incubator.apache.org Delivered-To: mailing list deltacloud-dev@incubator.apache.org Received: (qmail 18903 invoked by uid 99); 13 Sep 2011 08:27:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2011 08:27:38 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mfojtik@redhat.com designates 209.132.183.28 as permitted sender) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2011 08:27:32 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p8D8RBBn010478 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 13 Sep 2011 04:27:11 -0400 Received: from dhcp-29-121.brq.redhat.com (dhcp-29-121.brq.redhat.com [10.34.29.121]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p8D8R8cb029674 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 13 Sep 2011 04:27:09 -0400 Subject: Re: Deltacloud API verbose mode Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset=us-ascii From: Michal Fojtik In-Reply-To: <2E8AE9E1-ECC4-410E-9D5B-8D5E09C6E822@redhat.com> Date: Tue, 13 Sep 2011 10:27:51 +0200 Cc: aeolus-devel@lists.fedorahosted.org, deltacloud-dev@incubator.apache.org Content-Transfer-Encoding: quoted-printable Message-Id: <5FCA02A1-8BA7-4C15-B116-F32C3EA4CE31@redhat.com> References: <4930F962-4C7F-4F2F-BC08-785ABE30F038@redhat.com> <2E8AE9E1-ECC4-410E-9D5B-8D5E09C6E822@redhat.com> To: Justin Clift X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-Virus-Checked: Checked by ClamAV on apache.org 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. > >> I hope this will help us be more flexible in debugging Deltacloud API = code. >> In order to enable it you can do following: >>=20 >> 1. export API_VERBOSE=3D1 >> 2. ./bin/deltacloudd -V -i mock (-V =3D=3D verbose mode) > >=20 > 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=3D1' 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@redhat.com Deltacloud API: http://deltacloud.org