Skip to content

Commit

Permalink
add logging
Browse files Browse the repository at this point in the history
Signed-off-by: hjiang <[email protected]>
  • Loading branch information
dentiny committed Dec 13, 2024
1 parent 3fe5dd1 commit 7ed6a06
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/ray/tests/test_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,10 @@ def f():
worker_id = re.match(pattern, str(path)).group(1)
worker_log_files.append(str(paths))
ids.append(worker_id)

logger = logging.getLogger(__name__)
logger.warning(worker_log_files)

counts = Counter(ids).values()
for count in counts:
# There should be a "python-core-.*.log", "worker-.*.out",
Expand Down

0 comments on commit 7ed6a06

Please sign in to comment.