From 567ce17dcb5bf467db1ba74555392a8b8e8dd670 Mon Sep 17 00:00:00 2001 From: Derek King Date: Mon, 4 Oct 2021 16:16:28 +0100 Subject: [PATCH] Change ta-databricks log directory, to standard splunk log dir --- app/bin/log_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/bin/log_manager.py b/app/bin/log_manager.py index 23c5743..a7594d4 100755 --- a/app/bin/log_manager.py +++ b/app/bin/log_manager.py @@ -20,7 +20,7 @@ def setup_logging(log_name): :return: logger object """ # Make path till log file - log_file = make_splunkhome_path(["var", "log", APP_NAME, "%s.log" % log_name]) + log_file = make_splunkhome_path(["var", "log", "splunk", APP_NAME, "%s.log" % log_name]) # Get directory in which log file is present log_dir = os.path.dirname(log_file) # Create directory at the required path to store log file, if not found