Exception info in warning and/or debug logs

How severe does this issue affect your experience of using Ray?

  • Medium: It contributes to significant difficulty to complete my task, but I can work around it.

When logging is broken it shows a “Log channel is reconnecting. Logs produced while the connection was down can be found on the head node of the cluster in ray_client_server_[port].out” warning. (This happens here: ray/logsclient.py at master · ray-project/ray · GitHub)

This is nice to know but it doesn’t help fix the underlying issue because nothing gets logged. It would be great to print the exception or set exc_info=True in the message.

cc: @sangcho for thoughts

Yeah this makes sense it is not helpful. @Miguel_Carbajo_Berro would you be interested in contributing a PR? Otherwise, if you make a PR, we can track it and fix it.