From c101a4502ab361f95a37779a717a87cd1db15e81 Mon Sep 17 00:00:00 2001 From: CristianRCV Date: Thu, 31 Jan 2019 12:49:26 +0100 Subject: [PATCH] Update loggers to fixed class (PyCOMPSs 2.4 update) --- pycompss/api/parallel.py | 2 +- pycompss/util/translators/arg_utils/arg_utils.py | 2 +- pycompss/util/translators/code_replacer/code_replacer.py | 2 +- pycompss/util/translators/code_reuser/code_reuser.py | 2 +- pycompss/util/translators/py2pycompss/components/calculator.py | 2 +- .../util/translators/py2pycompss/components/code_cleaner.py | 2 +- .../util/translators/py2pycompss/components/header_builder.py | 2 +- .../translators/py2pycompss/components/loop_taskificator.py | 2 +- .../translators/py2pycompss/components/parameters_processor.py | 2 +- pycompss/util/translators/py2pycompss/translator_py2pycompss.py | 2 +- pycompss/util/translators/py2scop/translator_py2scop.py | 2 +- .../util/translators/scop2pscop2py/translator_scop2pscop2py.py | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/pycompss/api/parallel.py b/pycompss/api/parallel.py index fb0c6624..73778068 100644 --- a/pycompss/api/parallel.py +++ b/pycompss/api/parallel.py @@ -14,7 +14,7 @@ # Logger definition # -logger = logging.getLogger(__name__) +logger = logging.getLogger("pycompss.api.autoparallel") # diff --git a/pycompss/util/translators/arg_utils/arg_utils.py b/pycompss/util/translators/arg_utils/arg_utils.py index 9c513bdf..3411b828 100644 --- a/pycompss/util/translators/arg_utils/arg_utils.py +++ b/pycompss/util/translators/arg_utils/arg_utils.py @@ -13,7 +13,7 @@ # Logger definition # -logger = logging.getLogger(__name__) +logger = logging.getLogger("pycompss.api.autoparallel") # diff --git a/pycompss/util/translators/code_replacer/code_replacer.py b/pycompss/util/translators/code_replacer/code_replacer.py index 5f5b7559..2bddc357 100644 --- a/pycompss/util/translators/code_replacer/code_replacer.py +++ b/pycompss/util/translators/code_replacer/code_replacer.py @@ -13,7 +13,7 @@ # Logger definition # -logger = logging.getLogger(__name__) +logger = logging.getLogger("pycompss.api.autoparallel") # diff --git a/pycompss/util/translators/code_reuser/code_reuser.py b/pycompss/util/translators/code_reuser/code_reuser.py index 6bdbdce9..973980b8 100644 --- a/pycompss/util/translators/code_reuser/code_reuser.py +++ b/pycompss/util/translators/code_reuser/code_reuser.py @@ -13,7 +13,7 @@ # Logger definition # -logger = logging.getLogger(__name__) +logger = logging.getLogger("pycompss.api.autoparallel") # diff --git a/pycompss/util/translators/py2pycompss/components/calculator.py b/pycompss/util/translators/py2pycompss/components/calculator.py index 35dd8ccd..775db160 100644 --- a/pycompss/util/translators/py2pycompss/components/calculator.py +++ b/pycompss/util/translators/py2pycompss/components/calculator.py @@ -15,7 +15,7 @@ # Logger definition # -logger = logging.getLogger(__name__) +logger = logging.getLogger("pycompss.api.autoparallel") # diff --git a/pycompss/util/translators/py2pycompss/components/code_cleaner.py b/pycompss/util/translators/py2pycompss/components/code_cleaner.py index db39ec8c..31bc7d9d 100644 --- a/pycompss/util/translators/py2pycompss/components/code_cleaner.py +++ b/pycompss/util/translators/py2pycompss/components/code_cleaner.py @@ -13,7 +13,7 @@ # Logger definition # -logger = logging.getLogger(__name__) +logger = logging.getLogger("pycompss.api.autoparallel") # diff --git a/pycompss/util/translators/py2pycompss/components/header_builder.py b/pycompss/util/translators/py2pycompss/components/header_builder.py index e5293e8f..d826a900 100644 --- a/pycompss/util/translators/py2pycompss/components/header_builder.py +++ b/pycompss/util/translators/py2pycompss/components/header_builder.py @@ -13,7 +13,7 @@ # Logger definition # -logger = logging.getLogger(__name__) +logger = logging.getLogger("pycompss.api.autoparallel") # diff --git a/pycompss/util/translators/py2pycompss/components/loop_taskificator.py b/pycompss/util/translators/py2pycompss/components/loop_taskificator.py index 00e47d8c..380da4bd 100644 --- a/pycompss/util/translators/py2pycompss/components/loop_taskificator.py +++ b/pycompss/util/translators/py2pycompss/components/loop_taskificator.py @@ -14,7 +14,7 @@ # Logger definition # -logger = logging.getLogger(__name__) +logger = logging.getLogger("pycompss.api.autoparallel") # diff --git a/pycompss/util/translators/py2pycompss/components/parameters_processor.py b/pycompss/util/translators/py2pycompss/components/parameters_processor.py index c21fc1e0..d40dfb1a 100644 --- a/pycompss/util/translators/py2pycompss/components/parameters_processor.py +++ b/pycompss/util/translators/py2pycompss/components/parameters_processor.py @@ -14,7 +14,7 @@ # Logger definition # -logger = logging.getLogger(__name__) +logger = logging.getLogger("pycompss.api.autoparallel") # diff --git a/pycompss/util/translators/py2pycompss/translator_py2pycompss.py b/pycompss/util/translators/py2pycompss/translator_py2pycompss.py index 32d59386..7c15d59d 100644 --- a/pycompss/util/translators/py2pycompss/translator_py2pycompss.py +++ b/pycompss/util/translators/py2pycompss/translator_py2pycompss.py @@ -14,7 +14,7 @@ # Logger definition # -logger = logging.getLogger(__name__) +logger = logging.getLogger("pycompss.api.autoparallel") # diff --git a/pycompss/util/translators/py2scop/translator_py2scop.py b/pycompss/util/translators/py2scop/translator_py2scop.py index b7861336..1afabd90 100644 --- a/pycompss/util/translators/py2scop/translator_py2scop.py +++ b/pycompss/util/translators/py2scop/translator_py2scop.py @@ -13,7 +13,7 @@ # Logger definition # -logger = logging.getLogger(__name__) +logger = logging.getLogger("pycompss.api.autoparallel") # diff --git a/pycompss/util/translators/scop2pscop2py/translator_scop2pscop2py.py b/pycompss/util/translators/scop2pscop2py/translator_scop2pscop2py.py index f5c0c3be..1b247aef 100644 --- a/pycompss/util/translators/scop2pscop2py/translator_scop2pscop2py.py +++ b/pycompss/util/translators/scop2pscop2py/translator_scop2pscop2py.py @@ -13,7 +13,7 @@ # Logger definition # -logger = logging.getLogger(__name__) +logger = logging.getLogger("pycompss.api.autoparallel") #