How to configure ray logger format so that it is compatible with ddtrace
I am trying to modify the ray logger so that it logs in the format specified by Datadog, but I am running into problems. I have the configurations from the prior link and the configurations for Python log collection and am still not getting logs in the correct format. I am connecting to a kuberay cluster running in the same k8s cluster as the driver, but I want to be able to log in the format that will be easily parsed in dd. Right now it is logging to dd in Ray’s default format, which dd is parsing as an error. Here is an example log:
[36m(Writer pid=6655, ip=10.0.14.111)[0m Queue empty, sleeping 5