[Docs] Add documentation for RAY_BACKEND_LOG_JSON environment variable#59962
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
33b21f2 to
c623283
Compare
| RAY_BACKEND_LOG_JSON=1 ray start --head | ||
| ``` | ||
|
|
||
| When enabled, Python system logs output in the following JSON format: |
There was a problem hiding this comment.
The C++ part looks good to me. For the Python part, I might be mistaken, but it seems only the Job Supervisor uses JSON format, while other components like the Dashboard do not. Would you mind confirming this and noting it in the document if needed? Thanks!
There was a problem hiding this comment.
I could also only find Job Supervisor supporting the RAY_BACKEND_LOG_JSON_ENV_VAR and JSONFormatter, made a note as suggested. Thanks
60ebcbd to
0198336
Compare
|
@richabanker Thank you! Could you also resolve the DCO issues? Otherwise, LGTM! |
|
This pull request has been automatically marked as stale because it has not had You can always ask for help on our discussion forum or Ray's public slack channel. If you'd like to keep this open, just leave any comment, and the stale label will be removed. |
|
@richabanker Let me know once you fix the DCO issue. |
|
This pull request has been automatically marked as stale because it has not had You can always ask for help on our discussion forum or Ray's public slack channel. If you'd like to keep this open, just leave any comment, and the stale label will be removed. |
Signed-off-by: Richa Banker <richabanker@google.com>
0198336 to
73e8b1d
Compare
|
@Yicheng-Lu-llll I think its fixed now. Sorry about the super long delay on getting back to this! |
|
cc @edoakes @MengjinYan for review/merge. |
#59962) Document how to enable JSON format for Ray's backend system logs (Python and C++) using the RAY_BACKEND_LOG_JSON=1 environment variable. Also fix capitalization of "c++" to "C++" for consistency. Signed-off-by: Richa Banker <richabanker@google.com>
Description
Document how to enable JSON format for Ray's backend system logs
(Python and C++) using the RAY_BACKEND_LOG_JSON=1 environment variable.
Also fix capitalization of "c++" to "C++" for consistency.