ray-project / ray

Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.
https://ray.io
Apache License 2.0
34.27k stars 5.82k forks source link

Ray logging function not quite working #46644

Open wxie2013 opened 4 months ago

wxie2013 commented 4 months ago

What happened + What you expected to happen

I used “logging.getLogger(“ray.data”).setLevel(logging.CRITICAL)” to suppress most of the logging messages and works well with ray 2.31.0 and earlier version. For 2.32.0, it does not work anymore. I’ve got a large number of the following message coming out. Does one need other command to suppress these messages?

✔️ Dataset execution finished in 2.08 seconds: 100%|█████████████████| 1/1 [00:02<00:00, 2.08s/it]]

Versions / Dependencies

ray 2.32.0

Reproduction script

None

Issue Severity

Low: It annoys or frustrates me.

brycehuang30 commented 2 months ago

cc @jjyao wondering if this is related to the structured logging feature that touched the underlining logging setting?