diff options
author | Yang Xu <yang.xu@futurewei.com> | 2019-06-26 01:50:15 -0400 |
---|---|---|
committer | Yang Xu <yang.xu@futurewei.com> | 2019-06-26 12:46:31 +0000 |
commit | 1b31a1d43b9be2938fde5639ab7aaea6262adc4f (patch) | |
tree | 9a4ac9b08801746e311a00c7673ac73c66036b9f /test/vcpe/vcpecommon.py | |
parent | fdae148d303b3153e2dec38d830d3784491b6f65 (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-x | test/vcpe/vcpecommon.py | 9 |
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') |