You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by my...@apache.org on 2021/08/03 07:51:16 UTC
[incubator-datalab] 03/03: [DATALAB-2409] -logging refactored
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 <bo...@gmail.com>
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: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org