Skip to Content
Technical Articles
Author's profile photo David Gomez Riesgo

Plan Deletion of old logs in the Solution Manager

Following the SAP note we have programmed the deletion of logs in the solution manager.


https://launchpad.support.sap.com/#/notes/1911102

 

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.

Thank you.

David Gomez

Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Oded Dagan
      Oded Dagan

      Hello David,

      Nice post and the right way to go!

      I would also recommend looking at Note : 2549260 - Certain tables in Solution Manager system grow fast.

      There are remedies for many tables and logs.

      I also create cleaning jobs, mainly for CHARM Task List logs which hamper performance and space.

      Good housekeeping is very beneficial in SOLMAN.

      Regards,

      Oded Dagan