aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci/generate_report.py
diff options
context:
space:
mode:
authorJose Lausuch <jose.lausuch@ericsson.com>2017-05-05 07:50:31 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-05-05 07:50:31 +0000
commit533e08503e5888adb7a7cfa8b112502385130a8f (patch)
tree3fcba1f97f87f950adb206c904039d4e70ab178d /functest/ci/generate_report.py
parent520ebc4959d1a62d3792311c16c4276f53721486 (diff)
parenta87a5f00e1d32af5b193d0376778c966f1aaab3f (diff)
Merge "Delete functest.utils.functest_logger"
Diffstat (limited to 'functest/ci/generate_report.py')
-rwxr-xr-xfunctest/ci/generate_report.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/functest/ci/generate_report.py b/functest/ci/generate_report.py
index 3872a07e..c4a9fbbf 100755
--- a/functest/ci/generate_report.py
+++ b/functest/ci/generate_report.py
@@ -6,10 +6,11 @@
# http://www.apache.org/licenses/LICENSE-2.0
#
import json
+import logging
import re
+import sys
import urllib2
-import functest.utils.functest_logger as ft_logger
import functest.utils.functest_utils as ft_utils
from functest.utils.constants import CONST
@@ -23,7 +24,7 @@ COL_5_LEN = 75
# and then we can print the url to the specific test result
-logger = ft_logger.Logger("generate_report").getLogger()
+logger = logging.getLogger(__name__)
def init(tiers_to_run=[]):
@@ -149,5 +150,5 @@ def main(args=[]):
if __name__ == '__main__':
- import sys
+ logging.basicConfig()
main(sys.argv[1:])