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 988a8f3  [DATALAB-2409] - logging refactored
988a8f3 is described below

commit 988a8f3e20b2fe1f11c2d4620873631feb311426
Author: bodnarmykola <[email protected]>
AuthorDate: Tue Aug 3 10:58:48 2021 +0300

    [DATALAB-2409] - logging refactored
---
 infrastructure-provisioning/src/general/lib/os/logger.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/infrastructure-provisioning/src/general/lib/os/logger.py 
b/infrastructure-provisioning/src/general/lib/os/logger.py
index ad7c3b5..de07945 100644
--- a/infrastructure-provisioning/src/general/lib/os/logger.py
+++ b/infrastructure-provisioning/src/general/lib/os/logger.py
@@ -20,6 +20,7 @@
 # 
******************************************************************************
 
 import logging
+import os
 
 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to