Idea Summary
Declarative way to preserve APEX logs indefinitely.
Use Case
When APEX logs are needed to be preserved indefinitely (etc. regulations), it would be useful to have declarative way of doing that.
In the documentation is instruction to create custom batch job and custom table for archive. (docs)
Preferred Solution
Enable APEX log archive structures to preserve logs indefinitely.