[node-patches] Change in ovirt-node[master]: app: Always log the current page

fabiand at fedoraproject.org fabiand at fedoraproject.org
Fri Oct 18 09:37:27 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: app: Always log the current page
......................................................................

app: Always log the current page

Change-Id: I5444488d4c9fef816783468fb524313d2272096e
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1013547
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirt/node/app.py
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/85/20285/1

diff --git a/src/ovirt/node/app.py b/src/ovirt/node/app.py
index f5a648d..c44142d 100644
--- a/src/ovirt/node/app.py
+++ b/src/ovirt/node/app.py
@@ -233,7 +233,8 @@
             content = plugin.ui_content()
             self.show(content)
         self.logger.debug("Build and displayed plugin_page in %s seconds" % t)
-        self.logger.debug("Current page is '%s'" % plugin.ui_name())
+        self.logger.debug("Switched to plugin '%s'" % plugin)
+        self.logger.info("Current page is '%s'" % plugin.ui_name())
 
     def show(self, ui_container):
         """Shows the ui.Page as a page.


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5444488d4c9fef816783468fb524313d2272096e
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list