[node-patches] Change in ovirt-node[master]: app: Add debug mode

mburns at redhat.com mburns at redhat.com
Mon Jun 24 14:37:33 UTC 2013


Michael Burns has submitted this change and it was merged.

Change subject: app: Add debug mode
......................................................................


app: Add debug mode

Can be used to debug an application using pdb, e.g.:
$ PYTHONPATH=src/ python -m pdb src/ovirt/node/setup/__main__.py \
                                --dry \
                                --defaults /tmp/cfg_dummy \
                                --debug

Without the switch every exception will be catched and thus not passed
to pdb.

Change-Id: Ib0bf1b3d6bb360b3dfda9bb7c604153e0f13bebc
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M data/Makefile.am
M data/logging.conf
A data/logging.debug.conf
M ovirt-node.spec.in
M src/ovirt/node/app.py
M src/ovirt/node/ui/urwid_builder.py
6 files changed, 57 insertions(+), 16 deletions(-)

Approvals:
  Michael Burns: Verified; Looks good to me, approved


-- 
To view, visit http://gerrit.ovirt.org/15965
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib0bf1b3d6bb360b3dfda9bb7c604153e0f13bebc
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: Michael Burns <mburns at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the node-patches mailing list