Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: engine_page: replace log import
......................................................................

engine_page: replace log import

Due http://gerrit.ovirt.org/#/c/18927/ that add a log module we must update
engine_page.

Change-Id: Ie8e07b94ae18e1e7fd0c89b9b005f8eb5c0fe7eb
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1019859
Signed-off-by: Douglas Schilling Landgraf <dougsl...@redhat.com>
---
M src/engine_page.py
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node-plugin-vdsm 
refs/changes/44/20244/1

diff --git a/src/engine_page.py b/src/engine_page.py
index f437661..ff6b064 100644
--- a/src/engine_page.py
+++ b/src/engine_page.py
@@ -21,8 +21,8 @@
 from ovirt.node import plugins, valid, ui, utils, app, exceptions
 from ovirt.node.config.defaults import NodeConfigFileSection
 from ovirt.node.plugins import Changeset
+from ovirt.node import log
 from . import config
-import logging
 import os
 import sys
 import traceback
@@ -33,7 +33,7 @@
 """
 
 
-LOGGER = logging.getLogger(__name__)
+LOGGER = log.getLogger(__name__)
 
 
 class Plugin(plugins.NodePlugin):
@@ -168,7 +168,7 @@
             progress_dialog.run()
 
             # VDSM messes with logging, and we just reset it
-            app.configure_logging()
+            log.configure_logging()
 
         # Acts like a page reload
         return self.ui_content()


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie8e07b94ae18e1e7fd0c89b9b005f8eb5c0fe7eb
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node-plugin-vdsm
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsl...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to