ray
ray copied to clipboard
[RuntimeEnv] debug log level can not be set.
Description
When troubleshooting some issues about runtime-env, debug log needed. But it seems that the debug level can not be set.
I've tried the following two ways:
- set RAY_BACKEND_LOG_LEVEL=debug env
- using
ray --logging-level=debug start --head
command to start ray cluster
What is the correct way to enable debug logging in python code ?
Use case
No response
@SongGuyang
This is nothing related with runtime env. The python worker sets the log level to INFO by default, which cannot be confiugred, IIRC.
Yep, It's a common issue which is related to all the python processes(workers、agent、scripts、client server and so on.)
I'll try to fix it.
cc: @rkooo567
@WangTaoTheTonic do you have a plan to make a PR? Otherwise I can fix it
@rkooo567 It will be good if you take this.
Duplicated as https://github.com/ray-project/ray/issues/29758