Description
Is your feature request related to a problem? Please describe.
When user set spark.rapids.memory.gpu.state.debug=/tmp/state.log to retrieve the transition log of OOM state machine, the plugin will generate huge amount of state transition logs, and the size of the log file could easily reach a couple gigabytes. In customers' environments, it would be difficult to download or process such a large file. So it would be nice if the state transition are rotated.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context, code examples, or references to existing implementations about the feature request here.