How can I use the python logging in Ray?
Cristián Andrés

Cristián Andrés @slotbite

Location:
valparaiso
Joined:
Aug 13, 2019

How can I use the python logging in Ray?

Publish Date: Feb 22 '24
0 0
16

I use the logging module in the main function/process, it works well, but it seems can't work in Actor process/subprocess. How to make it work? In the sample below code, logging.info work in the main process but failed in the worker process. Thanks.

import logging
import ray

@ray.remote
class Worker(object):

Comments 0 total

    Add comment