Skip to content

Commit 783033f

Browse files
Merge pull request #18 from databrickslabs/logdirfix
Change ta-databricks log directory, to standard splunk log dir
2 parents 126873e + 567ce17 commit 783033f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/bin/log_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def setup_logging(log_name):
2020
:return: logger object
2121
"""
2222
# Make path till log file
23-
log_file = make_splunkhome_path(["var", "log", APP_NAME, "%s.log" % log_name])
23+
log_file = make_splunkhome_path(["var", "log", "splunk", APP_NAME, "%s.log" % log_name])
2424
# Get directory in which log file is present
2525
log_dir = os.path.dirname(log_file)
2626
# Create directory at the required path to store log file, if not found

0 commit comments

Comments
 (0)