aboutsummaryrefslogtreecommitdiffstats
path: root/test/vcpe/vcpecommon.py
diff options
context:
space:
mode:
authorYang Xu <yang.xu@futurewei.com>2019-06-26 01:50:15 -0400
committerYang Xu <yang.xu@futurewei.com>2019-06-26 07:30:46 -0400
commitdeaaf9b12c180a996863344515d4c8cc09dac19a (patch)
tree555878f24d5f202989d0af43d845b19503d6319d /test/vcpe/vcpecommon.py
parente3f80591ed1f83df13a5fd4593dafb0160ff2aa2 (diff)
Clean up vCPE script
Signed-off-by: Yang Xu <yang.xu@futurewei.com> Issue-ID: INT-847 Change-Id: I1158442cd73c6e0d943e9cc111cb12dae1381d36
Diffstat (limited to 'test/vcpe/vcpecommon.py')
-rwxr-xr-xtest/vcpe/vcpecommon.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/vcpe/vcpecommon.py b/test/vcpe/vcpecommon.py
index 4f4613a59..b0a17bc2e 100755
--- a/test/vcpe/vcpecommon.py
+++ b/test/vcpe/vcpecommon.py
@@ -66,16 +66,7 @@ class VcpeCommon:
owning_entity_name = 'OE-Demonstration1'
def __init__(self, extra_host_names=None):
- rootlogger = logging.getLogger()
- handler = logging.StreamHandler()
- formatter = logging.Formatter('%(asctime)s %(levelname)s %(name)s.%(funcName)s(): %(message)s')
- handler.setFormatter(formatter)
- rootlogger.addHandler(handler)
- rootlogger.setLevel(logging.INFO)
-
self.logger = logging.getLogger(__name__)
- self.logger.propagate = False
- self.logger.addHandler(handler)
self.logger.setLevel(logging.DEBUG)
self.logger.info('Initializing configuration')