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 e793854  [DATALAB-2409] - DataLab deployment script refactored
e793854 is described below

commit e79385443758a4f73329e6b7774741cfb1606683
Author: bodnarmykola <[email protected]>
AuthorDate: Wed Jul 21 16:22:27 2021 +0300

    [DATALAB-2409] - DataLab deployment script refactored
---
 infrastructure-provisioning/src/general/scripts/aws/ssn_prepare.py | 3 +--
 1 file changed, 1 insertion(+), 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 6ce0672..7c598d3 100644
--- a/infrastructure-provisioning/src/general/scripts/aws/ssn_prepare.py
+++ b/infrastructure-provisioning/src/general/scripts/aws/ssn_prepare.py
@@ -37,8 +37,7 @@ if __name__ == "__main__":
     local_log_filepath = "/logs/" + os.environ['conf_resource'] + "/" + 
local_log_filename
     logging.basicConfig(format='%(levelname)-8s [%(asctime)s]  %(message)s',
                         level=logging.DEBUG,
-                        filename=local_log_filepath,
-                        handlers=[logging.StreamHandler()])
+                        handlers=[logging.StreamHandler(), 
logging.FileHandler(local_log_filepath)])
     ssn_conf = dict()
     ssn_conf['instance'] = 'ssn'
     ssn_conf['pre_defined_vpc'] = False

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

Reply via email to