Hello Ray Community,
I’m currently working with Ray Serve and seeking guidance on configuring its logging system to meet specific requirements. Specifically, I have the following questions:
- JSON Log Formatting: How can I configure the Ray logger to output logs in JSON format?
- Stream Handling: What are the best practices for configuring different log streams, such as
stderr
andstdout
, within Ray Serve? - CLI Log Configuration: How can I adjust the logging behavior for Ray Serve’s CLI commands to align with the above configurations?
I have reviewed the Ray documentation on configuring logging, but I’m looking for more detailed insights or examples from the community.
Any advice or shared experiences on achieving these logging configurations in Ray Serve would be highly valuable.
Thank you in advance for your assistance!