Following the SAP note we have programmed the deletion of logs in the solution manager.
We’re going to transaction SLG2
We chose the option: “and logs which can be deleted before the expiry data”
You can exclude logs of objects that we do not want to delete, for example in this case, we exclude objects of type CDMC, since we use the CDMC_UCIA scenario for upgrades.
We choose the option “Delete immediately”
We create the variant:
Then we save the variant.
And we will schedule the job in the background
We will schedule the job periodically, so that it runs weekly and delete the old logs.
The job is ready:
Now every week, the job will automatically delete the logs, leaving only the last 365 days and thus releasing the old data system.
You can set other dates, my advice is to leave at least 6 months of logs in case you have to check an old error.
I hope this article helps you to gain space in your systems.