diff options
author | Chris Lumens <clumens@redhat.com> | 2012-11-09 16:14:54 -0500 |
---|---|---|
committer | Brian C. Lane <bcl@redhat.com> | 2012-11-09 16:05:15 -0800 |
commit | 3720acf7625a0c8ac2f40624ade844ee4cee939f (patch) | |
tree | de2338a9961684fc908f14e9e15b5bc66651a5d9 /pyanaconda/ui/gui/hubs | |
parent | f73c838dcbc4013e20dc580f5b6bda797b5ac835 (diff) | |
download | anaconda-3720acf7625a0c8ac2f40624ade844ee4cee939f.tar.gz anaconda-3720acf7625a0c8ac2f40624ade844ee4cee939f.tar.xz anaconda-3720acf7625a0c8ac2f40624ade844ee4cee939f.zip |
Add logging around the messages that can be processed by the hub.
Diffstat (limited to 'pyanaconda/ui/gui/hubs')
-rw-r--r-- | pyanaconda/ui/gui/hubs/__init__.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pyanaconda/ui/gui/hubs/__init__.py b/pyanaconda/ui/gui/hubs/__init__.py index 7914cf261..5718aabb3 100644 --- a/pyanaconda/ui/gui/hubs/__init__.py +++ b/pyanaconda/ui/gui/hubs/__init__.py @@ -32,6 +32,9 @@ from pyanaconda.ui.gui import GUIObject from pyanaconda.ui.gui.categories import collect_categories from pyanaconda.ui.gui.spokes import StandaloneSpoke, collect_spokes +import logging +log = logging.getLogger("anaconda") + class Hub(GUIObject, common.Hub): """A Hub is an overview UI screen. A Hub consists of one or more grids of configuration options that the user may choose from. Each grid is @@ -261,6 +264,7 @@ class Hub(GUIObject, common.Hub): self._notReadySpokes.append(spoke) self._updateContinueButton() + log.info("spoke is not ready: %s" % spoke) elif code == communication.HUB_CODE_READY: self._updateCompleteness(spoke) @@ -268,6 +272,7 @@ class Hub(GUIObject, common.Hub): self._notReadySpokes.remove(spoke) self._updateContinueButton() + log.info("spoke is ready: %s" % spoke) # If this is a real kickstart install (the kind with an input ks file) # and all spokes are now completed, we should skip ahead to the next @@ -288,6 +293,7 @@ class Hub(GUIObject, common.Hub): self.continueButton.emit("clicked") elif code == communication.HUB_CODE_MESSAGE: spoke.selector.set_property("status", args[1]) + log.info("setting %s status to: %s" % (spoke, args[1])) q.task_done() |