How to rotate .err log files

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

  • Low: It annoys or frustrates me for a moment.

How can I limit .err log files and rotate it?
I don’t want it to grow indefinitely. For .log I can control it with RAY_ROTATION_BACKUP_COUNT and RAY_ROTATION_MAX_BYTES but it seems not to apply for stderr outputs.

Hi @Augusto_Maillo we are actively working on log rotation. What exact .err log you are referring to.

Hi!
While exploring the Ray logs folder, I noticed a significant number of .err files, which I assumed were generated by Ray log messages directed to STDERR. Additionally, there are numerous .out files. It appears that the defined rules specified by RAY_ROTATION_BACKUP_COUNT and RAY_ROTATION_MAX_BYTES are not being applied to these particular file types.

These files are not particular ones, they are just likeworker-very-long-hash.err files.

Got it. Yes, we are actively fixing those.

1 Like