aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci/logging.ini
AgeCommit message (Collapse)AuthorFilesLines
2019-06-14Update Xtesting to 0.70Cédric Ollivier1-6/+1
Change-Id: Ib2427112f1ec2e89aa349740c1bb82db1a3622f5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-25Leverage on DEBUG env varCédric Ollivier1-8/+8
It allows muting debug logs. Change-Id: I291f3bb7e0a450724a34997c720bde01f72c8e50 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-20Remove all sdnvpn loggersCédric Ollivier1-6/+1
OPNFV sdnvpn is over. Change-Id: I78b6c45c6e5216795252be38dbc54f80f6e65061 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-11Print all debug messages in a second fileCédric Ollivier1-8/+8
All modules are allowed to print in functest.debug.log. Change-Id: I9c0be258dba985c9d3171bc2d324464e41e1c584 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-10Define one logger per key moduleCédric Ollivier1-3/+69
Snaps is printing lots of error messages which makes user confused. It will decrease the size of functest.log. Change-Id: I2c7d8ec968350563fbfbd62dcc2fc39b13b39a78 Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
2018-05-29Simplify loggingPanagiotis Karalis1-49/+3
In order to collect logs from features running through functest framework (mainly for troubleshooting purposes), the logging mechanism has been updated accordingly. It should be noted that feature logs are printed in functest.log. All logs are now printed in functest.log whatever the namespace. JIRA: SFC-125 Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I6cb32e5553749023d490d553ae4653750c52e844 Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-02Leverage on XtestingCédric Ollivier1-8/+28
It removes all the files which have moved to Xtesting. Vnf inheritances and env management will be improved in other changes. It keeps the same tree thanks to a symlink to allow publishing artifacts. Change-Id: I551bbd3f344cdab0158a50b7b09e541576695631 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-17API proposal for functestLinda Wang1-1/+6
1. Propose a basic framework for API 2. And these functions have been realized: 1) Show environment 2) Prepare Environment 3) Show credentials 4) List all testcases 5) Show a testcase 6) List all tiers 7) Show a tier 8) List all testcases within given tier JIRA: FUNCTEST-843 Change-Id: Ib961446708077b56465eda0052f6d38806b62594 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-05-09Add Energy recording supportBenoit HERARD1-1/+6
It adds helpers to send notifications to Energy recording API and related unit tests. It requires a dedicated section in functest config file to set connectivity parameters to Energy recording API. It is using shared API Recording at http://161.105.253.100:8888 Change-Id: Idcb74d1bf7341ccce7cc1c3926f22338ce24f714 Signed-off-by: Benoit HERARD <benoit.herard@orange.com>
2017-05-04Delete functest.utils.functest_loggerCédric Ollivier1-0/+70
It deletes functest.utils.functest_logger and the related unit tests. Then it modifies all functest modules to get all loggers via logging.getLogger(). __name__ is mainly used as getLogger arg as proposed by logging [1]. All loggers and handlers are now defined via functest/ci/logging.ini instead of a dict loaded by an external json file. Now only warn messages and info messages from ci and core packages are printed in console. [1] https://docs.python.org/2/library/logging.html Change-Id: Ic192855e0f9bf94825d8f7ec73549a0f3b8d44c5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>