ray.job_config.JobConfig.set_py_logging_config#

JobConfig.set_py_logging_config(logging_config: LoggingConfig | None = None)[source]#

Set the logging configuration for the job.

The logging configuration will be applied to the root loggers of all Ray task and actor processes that belong to this job.

Parameters:

logging_config – The logging configuration to set.