diff options
author | Peter Mikus <pmikus@cisco.com> | 2019-04-11 08:36:06 +0000 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2019-04-15 09:51:41 +0000 |
commit | cc0c2870a18fb74a56410eca2d1870bddc945397 (patch) | |
tree | 8d12ec472a3a1f79f25ac341b09d1b5b0eb8866e /resources/libraries/python | |
parent | 18422fd2221c2474f07450280a7af1a06b1c2207 (diff) |
Add output.xml with only INFO logging leve
- Useful for post-processing.
Change-Id: I6f71087f8c6f6d66fd86207d5df9abd10e94f855
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/python')
-rw-r--r-- | resources/libraries/python/PapiHistory.py | 2 | ||||
-rw-r--r-- | resources/libraries/python/VppCounters.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/resources/libraries/python/PapiHistory.py b/resources/libraries/python/PapiHistory.py index 78279f559a..6a4f913d03 100644 --- a/resources/libraries/python/PapiHistory.py +++ b/resources/libraries/python/PapiHistory.py @@ -104,7 +104,7 @@ class PapiHistory(object): history_list = DICT__DUTS_PAPI_HISTORY[node['host']] if not history_list: history_list = ("No PAPI command executed", ) - logger.trace( + logger.info( "{0} PAPI command history:\n{1}\n".format( node['host'], "\n".join(history_list))) diff --git a/resources/libraries/python/VppCounters.py b/resources/libraries/python/VppCounters.py index ff4ce29b3f..b65b58c89b 100644 --- a/resources/libraries/python/VppCounters.py +++ b/resources/libraries/python/VppCounters.py @@ -75,6 +75,7 @@ class VppCounters(object): """ vat = VatExecutor() vat.execute_script("show_runtime.vat", node, json_out=False) + logger.info(vat.get_script_stdout()) vat.script_should_have_passed() @staticmethod @@ -97,6 +98,7 @@ class VppCounters(object): """ vat = VatExecutor() vat.execute_script("show_runtime_verbose.vat", node, json_out=False) + logger.info(vat.get_script_stdout()) vat.script_should_have_passed() @staticmethod |