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
commit 25ea16a68c4e6b2774d2bf8e934cbfd4f5206e56 Author: bodnarmykola <[email protected]> AuthorDate: Tue Aug 3 10:51:00 2021 +0300 [DATALAB-2409] -logging refactored --- .../src/general/scripts/aws/ssn_configure.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/infrastructure-provisioning/src/general/scripts/aws/ssn_configure.py b/infrastructure-provisioning/src/general/scripts/aws/ssn_configure.py index cc3fa84..30bffcf 100644 --- a/infrastructure-provisioning/src/general/scripts/aws/ssn_configure.py +++ b/infrastructure-provisioning/src/general/scripts/aws/ssn_configure.py @@ -42,13 +42,6 @@ def cleanup_aws_resources(tag_name, service_base_name): raise Exception if __name__ == "__main__": - #configuring logs - local_log_filename = "{}_{}.log".format(os.environ['conf_resource'], os.environ['request_id']) - local_log_filepath = "/logs/" + os.environ['conf_resource'] + "/" + local_log_filename - logging.basicConfig(format='%(levelname)-8s [%(asctime)s] %(message)s', - level=logging.DEBUG, - handlers=[logging.StreamHandler(), logging.FileHandler(local_log_filepath)]) - # deriving variables for ssn node deployment try: logging.info('[DERIVING NAMES]') --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
