This is an automated email from the ASF dual-hosted git repository.

mykolabodnar pushed a commit to branch DATALAB-2409
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to refs/heads/DATALAB-2409 by this push:
     new 40ffebe  [DATALAB-2409] - logging refactored
40ffebe is described below

commit 40ffebe5943cce9f6837b387d6e54fee86b2638f
Author: bodnarmykola <[email protected]>
AuthorDate: Tue Aug 3 11:29:21 2021 +0300

    [DATALAB-2409] - logging refactored
---
 infrastructure-provisioning/src/general/scripts/aws/ssn_prepare.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/infrastructure-provisioning/src/general/scripts/aws/ssn_prepare.py 
b/infrastructure-provisioning/src/general/scripts/aws/ssn_prepare.py
index 77421c1..a568e7c 100644
--- a/infrastructure-provisioning/src/general/scripts/aws/ssn_prepare.py
+++ b/infrastructure-provisioning/src/general/scripts/aws/ssn_prepare.py
@@ -43,13 +43,13 @@ def cleanup_aws_resources(tag_name, service_base_name):
 if __name__ == "__main__":
     #creating aws config file
     try:
-        logger.info('[CREATE AWS CONFIG FILE]')
+        logging.info('[CREATE AWS CONFIG FILE]')
         if 'aws_access_key' in os.environ and 'aws_secret_access_key' in 
os.environ:
             
datalab.actions_lib.create_aws_config_files(generate_full_config=True)
         else:
             datalab.actions_lib.create_aws_config_files()
     except Exception as err:
-        logger.info('Unable to create configuration')
+        logging.info('Unable to create configuration')
         datalab.fab.append_result("Unable to create configuration", err)
         traceback.print_exc()
         sys.exit(1)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to