Skip to content

Commit 3724561

Browse files
use correct log file
Signed-off-by: Chris Fellowes <[email protected]>
1 parent 76dd251 commit 3724561

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ray/dashboard/modules/job/job_supervisor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def _exec_entrypoint(self, env: dict, logs_path: str) -> subprocess.Popen:
173173
# Open in append mode to avoid overwriting runtime_env setup logs for the
174174
# supervisor actor, which are also written to the same file.
175175
with open(logs_path, "a") as logs_file:
176-
self._logger.info(f"Running entrypoint for job {self._job_id}: {self._entrypoint}\n")
176+
logs_file.write(f"Running entrypoint for job {self._job_id}: {self._entrypoint}\n")
177177
child_process = subprocess.Popen(
178178
self._entrypoint,
179179
shell=True,

0 commit comments

Comments
 (0)