You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2021/11/23 07:24:52 UTC
[incubator-datalab] branch DATALAB-2616 created (now bac0241)
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a change to branch DATALAB-2616
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git.
at bac0241 [DATALAB-2616]: removed check when creating log directory
This branch includes the following new commits:
new bac0241 [DATALAB-2616]: removed check when creating log directory
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org
[incubator-datalab] 01/01: [DATALAB-2616]: removed check when creating log directory
Posted by lf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DATALAB-2616
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit bac0241850650a820cc5056695f5488c2a1a9381
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Tue Nov 23 09:24:25 2021 +0200
[DATALAB-2616]: removed check when creating log directory
---
infrastructure-provisioning/src/general/lib/os/logger.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/infrastructure-provisioning/src/general/lib/os/logger.py b/infrastructure-provisioning/src/general/lib/os/logger.py
index 8c561a2..195dafc 100644
--- a/infrastructure-provisioning/src/general/lib/os/logger.py
+++ b/infrastructure-provisioning/src/general/lib/os/logger.py
@@ -33,7 +33,7 @@ try:
except:
os.environ['conf_resource'] = 'undefined_conf_resource'
-subprocess.run("sudo mkdir -p /logs/{}/".format(os.environ['conf_resource']), shell=True, check=True)
+subprocess.run("sudo mkdir -p /logs/{}/".format(os.environ['conf_resource']), shell=True)
local_log_filename = "{}_{}.log".format(os.environ['conf_resource'], os.environ['request_id'])
local_log_filepath = "/logs/" + os.environ['conf_resource'] + "/" + local_log_filename
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org