Skip to content

Commit 81b62dd

Browse files
authored
Write go task logs to the correct configured folder (apache#56140)
This makes the worker that writes logs respect `ARIFLOW__LOGGING__BASE_LOG_FOLDER` location -- the same one used through out all of the Python code, and also on the `worker` side that runs the HTTP server that the UI uses (via the central API server) to show task logs.
1 parent 3cf09fa commit 81b62dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go-sdk/pkg/worker/runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ func (w *worker) setupTaskLogger(
449449
return supervisorLogger, nil
450450
}
451451

452-
base := viper.GetString("logging.base_log_path")
452+
base := viper.GetString("logging.base_log_folder")
453453
filename := path.Join(base, *workload.LogPath)
454454
dir := path.Dir(filename)
455455

0 commit comments

Comments
 (0)